Thursday, September 27, 2018

Turning up the heat!

This one was actually pretty tough for awhile. Originally, every time I tried to compile it would tell me I had an error with my parentheses. This was strange to me because after checking with my friend's code, our parentheses were identical. Eventually I realized that my mistake was that I was trying to "Get_int" when I should have been using "Get_float". After this I compiled and it worked. When I ran check 50 it told me I had a few errors. I asked will and he showed me that I needed to put ".1f" rather than just "f" in the orange printf line. Overall I am pretty satisfied with how I was able to conquer this task.

No comments:

Post a Comment