Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class l5 {
- public static void convertCelsiumToFahrenheit(int celsium, int fahrenheit){
- double celsium = 40;
- celsium = (fahrenheit - 32) * 5 / 9;
- System.out.println(celsium);
- }
- public static void main(String[] args){
- convertCelsiumToFahrenheit();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement