Computer Science, asked by latas1493, 10 months ago

Write a program in java to store 20 temperatures in degree f in a single dimensional array and display all temperatures after converting them to degree C.
Hint:C/5=(f-32) /9

Answers

Answered by purnamahesh
43

Answer:

here is the code in java

Explanation:

the first for loop takes the input and converts each value in f to C . the 2nd for loop simply prints the converted temperature values

Attachments:
Similar questions