Guest User

Untitled

a guest
Dec 11th, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. int Fahrenheit =5/9*(F-32);
  2. return Fahrenheit;
  3.  
  4. // TODO Auto-generated method stub
  5. int F ;
  6.  
  7. int C ;
  8.  
  9. Scanner sc = new Scanner(System.in);
  10.  
  11. System.out.println(" The temperature of Fahrenheit(F) : ");
  12.  
  13. F = sc.nextInt();
  14.  
  15. System.out .println(" The temperature of Centigrade(C) : " + C );
Add Comment
Please, Sign In to add comment