This lab’s objective is to learn how to use loops and escape sequences to create conversion tables and make calculations. You will write 2 programs, the first is your conversion table which will convert celsius to fahrenheit in increments of 20 degrees. The second is your loop formula which will calculate all odd numbers from 0 to a number entered by the user.
In this week's lecture the topic of discussion will be for, while, and do-while loops. A loop
executes the sequence of statements many times until the stated condition becomes
false, as opposed to if statements which only run once.
Submit the three screenshot files and Part C source code (.c file) to MySeneca (using the Lab 4
page in the PRG155 lab site). Lab solutions received by due date will receive up to 1.5%
towards the PRG155 course grade. This mark depends on the completeness of the solution and
quality of your code (formatting counts)
Get Free Quote!
346 Experts Online