You have my sympathy, but you'll have to step it up - regardless. For loops are a very basic loop in C, used all the time, (in every language I've seen), and not hard to understand.
Your assignment requires you to ask the user for the starting and ending temperature. That must be done before any for loop can start.
Ask for a start temperature
Ask for an ending temperature
(these will both be in Fahrenheit)
The you need your for loop:
Something like:
Code:
for(i = startTemp; i <= stopTemp; i+=5) {
c = (i * 5)/9 - 32
printf() //print out "i = c", i, c
}
Your results will not be completely accurate, because integer division drops the fractional part of any division. If you need greater accuracy (to less than 1 degree), then you'll need to make all your variables floats or doubles.