- 1
How to use scanner object to convert from Cal to fah temperature
2 odpowiedzi
0
Ahmed Abdallah Rasheed Alselayem
Take celcius as a integer input using scanner and using the formula provided by Jay Matthews calculate farenhite.
- 1
import java.util.Scanner;
class MyClass {
public static void main(String[ ] args) {
Scanner myVar = new Scanner(System.in);
System.out.println(myVar.nextLine());
}
}