Fahrenheit

This code asked for a celsius input and gave a calculated fahrenheit output to one decimal place. This code was similar to the float_calc.c code because it defined a variable (F) and asked for an input, then printed an output using a coded algorithm. At the end of the printf line I wanted to make sure the code multiplied by 9 and divided by 5 before adding 32 so I wrote F*(9/5)+32, which did not work. I then removed the parenetheses and it worked. Also, I forgot each line requires a semicolon at the end. Aside from this I had no problems. I remembered to save each change before making and remaking the code before running the code.


Comments

Popular posts from this blog

Marconi Feedback

Create Task Day 4

Create Task Day 7