package com.codegym.task.task01.task0130;
public class Solution {
public static void main(String[] args) {
System.out.println(convertCelsiusToFahrenheit(41));
}
public static double convertCelsiusToFahrenheit(int celsius) {
double TC = 41;
double TF = 1.8*TC+32;
return TF;
}
}
package com.codegym.task.task01.task0130;
/*
Our first converter!
*/
public class Solution {
public static void main(String[] args) {
System.out.println(convertCelsiusToFahrenheit(41));
}
public static double convertCelsiusToFahrenheit(int celsius) {
double TC = 41;
double TF = 1.8*TC+32;
return TF;
}
}