Question: Temperature converter: Write a program that takes input from a user using the Scanner class. Save the input into a variable named farenheitTemp. This variable
Temperature converter: Write a program that takes input from a user using the Scanner class. Save the input into a variable named farenheitTemp. This variable should be of the type double. The equation should be celsiusTemp=(farenheitTemp 32) 5/9: celsiusTemp should be a double as well. Make sure you prompt the user for input with text using System.out.println); method and print out the result at the end. Number Splitter: Split a 4 digit number into 4 separate numbers and print them out 1 at a time. For example if the user input 1994 t would print out 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
