Answer:
Please find the full code in the attached file.
Output:
10 C is 283.15 K
283.15 K is 10 C
Step-by-step explanation:
In this program to method "CelsiusToKelvin and KelvinToCelsius" is declared that takes a double variable as a parameter.
Both the above method defines a variable that converts the value in their respective value and converts and returns its value.
Inside the main method two double variables "valueC, valueK" is declared that hold value in and pass into the method and print its return value.