Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int Fahrenheit =5/9*(F-32);
- return Fahrenheit;
- // TODO Auto-generated method stub
- int F ;
- int C ;
- Scanner sc = new Scanner(System.in);
- System.out.println(" The temperature of Fahrenheit(F) : ");
- F = sc.nextInt();
- System.out .println(" The temperature of Centigrade(C) : " + C );
Add Comment
Please, Sign In to add comment