Programming Logic & Design

(1)    Your homework must be completed as a typewritten document (MS-Word or a Plain text file). Submit your work by uploading your document on the course webpage in LearningStudio via the Dropbox named HW 1.
(2)    Your homework should be submitted via the corresponding Drop box in Learning Studio.
(3)    Homework is due by 11:59PM on the due date of submission.
(4)    When writing pseudo code, use the following guidelines:
a.       All programs must begin and end with the “start” and “stop” keywords.
b.      Use appropriate indentation to make your code readable.
c.       Choose meaningful names for all program variables.

Exercise 1
(a)    Write pseudo code to represent the logic of a program that allows the user to enter values for the width and length of a room’s floor in feet. The program outputs the area of the floor in square feet.
(b)   Modify the program that computes floor area to compute and output the number of 6-inch square tiles needed to tile the floor.

Exercise 2
Develop a program that converts a temperature input in degree Celsius into degrees Fahrenheit and displays both temperatures.
You can calculate degree Fahrenheit from degree Celsius using the formula:

Fahrenheit = (9/5) * Celsius + 32

Exercise 3
A retail store pays its salespeople on a commission basis. The salespeople receive $200 per
week plus 9 percent of their gross sales for that week. For example, a salesperson who sells
$5000 worth of items in a week receives $200 plus 9 percent of $5000, or a total of $650.
Develop a program that will input each salesperson’s gross sales for the last week, and calculate
and display that salesperson’s earnings.