Computer Science, asked by pooja55273, 5 months ago

write a C program to accept temperature in ( f) FERHRENHEIT and display it in (C) celsius and( k) kelvin. ​

Answers

Answered by krishansinghrathore9
0

Explanation:

jxkzkKskfikfkxdkkzk((#(__8

Answered by ayushmaurya2612
0

Answer:

Sorry it is inverse

but please mark me as brainlist

Explanation:

import java.util.*;

class temperature

{

   public static void main(String args[])

   {

       Scanner in = new Scanner(System.in);

       int i,j;double c;

       int m[]=new int[5];

       for(i=0;i<5;i++)

       {

           System.out.println("Enter temperature in 'F :");

           m[i]=in.nextInt();

       }

       for(i=0;i<5;i++)

       {

           System.out.print(m[i]+" ");

       }

       for(i=0;i<5;i++)

       {

           c=((m[i]-32)/9)*5;

           System.out.println("Temperature in 'C = "+c);

       }

   }

}

       

Similar questions