This lab’s objective is to learn how to use loops and escape sequences to create conversion tables and make calculations.

computer science

Description

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)




Related Questions in computer science category


Disclaimer
The ready solutions purchased from Library are already used solutions. Please do not submit them directly as it may lead to plagiarism. Once paid, the solution file download link will be sent to your provided email. Please either use them for learning purpose or re-write them in your own language. In case if you haven't get the email, do let us know via chat support.