Hey everyone, I'm working on a code using while and for loops to output a table of temperature conversions. Input is degrees in celsius and an increment value, using while loops to prevent input of less than absolute zero and an increment value of at least 1. Then I used a for loop for the table itself, which works mostly fine, except it seems to be iterating the increment value too many times, and the first line in the chart is being output after at least one iteration instead of displaying the original celsius input and conversions first.
My lab partner actually helped me with this part because I couldn't figure out how to work the increment value, so I don't really understand it well enough to figure out why it isn't working.
Are you referring to the conversions? I had set them as constants earlier but the code wasn't working properly. Although now it seems it wasn't defining the constants that was the problem after all. If that's not what you meant then I'm not sure what you did.