0

Java Beginner

I need help with coding this in Java. Within a for loop, call a method named wcfactor that returns a double and has a double parameter and an integer parameter. The method will return a value for the wind chill factor, based on the following formula (T is the temperature, V is the wind velocity):

25th Apr 2021, 3:54 AM
Diana Lopez
3 ответов
+ 5
Show us your code .
25th Apr 2021, 3:55 AM
TOLUENE
TOLUENE - avatar
0
class Program{ public static void main(String[] args) { ... wcfactor(36.6, 8); ... } public static double wcfactor(double T, int V) { double result = calculation formula; return result; } }
30th Aug 2021, 3:45 AM
Evseev Anton
Evseev Anton - avatar
0
in the variable result you have to insert the formula.to see it printed you have to print the method System.out.println (wcfactor (36.6,8));
10th Nov 2021, 11:00 AM
GiobirCode
GiobirCode - avatar