Where is the problem? when i change int into double at some places it wont even compile !
package com.codegym.task.task01.task0130;
/*
Our first converter!
*/
public class Solution {
public static void main(String[] args) {
convertCelsiusToFahrenheit(41);
System.out.println(convertCelsiusToFahrenheit(41));
}
public static double convertCelsiusToFahrenheit(int celsius) {
//write your code here
return celsius*9/5+32;
}
}