Hello everyone,
for some reason I am unable to pass the 4th requirement even though I casted celsius already. Do you have any idea how I could fix it? Thanks a lot!
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 TC) {
//write your code here
convertCelsiusToFahrenheit(41);
double TF;
TF= (double)TC * (9/5) + 32;
return TF;
}
}