From input of a starting and ending fahrenheit temperature and a temperature increment, I want to construct a loop that calculates fahrenheit and temperature using the standard formulas and increments the conversion till it gets to the final fahrenheit.
A little of my code (the loop):
//For loop
for(int i = 0; i<= endfarh; i++){
Celsius = (double) (9.0/5.0) * (Tempincre + 32);
Kelvin = (double) (Celsius + 273.15);
{
How would such a loop look like and what commands do I need?