Question: Need to make a program using the scanner class that outputs F to C 32f-212 and 0c-100c. Do i need to use a for loop?

 Need to make a program using the scanner class that outputs

Need to make a program using the scanner class that outputs F to C 32f-212 and 0c-100c. Do i need to use a for loop? Please help thanks

A table needs to be made

Faren. Celsius

--------------------

32.00 | 0.00

ect | ect

212.00 | 100.00

-----------------------

output should look something like that

2 El import java util. Scanner public class Temp public static void main (String args) Scanner input new Scanner System in) double celsius, fahrenheit; 10 System out print Enter a temperature in Fahrenheit fahrenheit input .next Double 12 celsius (fahrenheit 32) 5 9; 14 System out println. I fahrenheit I celsius "I") for 17 18 20 21 22 23 Output X Tempo (run x Temp (run) #2 x Enter a temperature in Fahrenheit: 32 I 32.0 0.0 I BUILD SUCCESSFUL (total time: 4 seconds

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!