Advertisement
Guest User

Untitled

a guest
Oct 17th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.30 KB | None | 0 0
  1. public class l5 {
  2.  
  3.     public static void convertCelsiumToFahrenheit(int celsium, int fahrenheit){
  4.     double celsium = 40;
  5.         celsium = (fahrenheit - 32) * 5 / 9;
  6.     System.out.println(celsium);
  7.     }
  8.  
  9.     public static void main(String[] args){
  10.         convertCelsiumToFahrenheit();
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement