keepkoding
Question
Code
import java.util.Scanner; public class celsiusToFahrenheit { public static void main(String args[]) { Scanner sc=new Scanner(System.in); System.out.println("Enter Celsius value"); double celsius=sc.nextDouble(); /* fahrenheit = ((celsius*9)/5)+32 */ double f=((celsius*9)/5)+32; System.out.println("fahrenheit value="+f); } }
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Do you need help with your computer project or assignment?