Es1 Midterm
Es1 Midterm
Es1 Midterm
CODING ACTIVITY
1. Draw a flowchart and write a C++ program that will determine the output of a
digital converter unit using the following input/output relationship:
ROOT PATH: C:\Users\rowel\OneDrive\Documents\Coding Activity\MIDTERM\
2. Draw a flowchart and create a C++program that will input your grade score then
display the letter grade assigned by the end user. Table below shows the assigned
letter grade for each test score.
ROOT PATH: C:\Users\rowel\OneDrive\Documents\Coding Activity\MIDTERM 2\
3. Draw a flowchart and write a C++ that accepts a number followed by one space
and then a letter. If the letter following the number is f, the program is to
treat the number entered as a temperature in degrees Fahrenheit, convert the
number to the equivalent degrees Celsius, and print a suitable display message.
If the letter following the number is c, the program is to treat the number
entered as a temperature in Celsius, convert the number to the equivalent degrees
Fahrenheit, and print a suitable display message. If the letter is neither an f
or c, the program is to print a message that the data entered is incorrect and
terminate.