In Class Exercises
Write an if-else statement that outputs the word "High" if the value of the variable score is greater than 100, and writes "Low" if the value of score is at most 100. The variable score is of type int.
Write an if-else statement that outputs the word "Passed" provided the value of the variable exam is greater than or equal to 60 and the value of the variable programsDone is greater than or equal to 10. Otherwise, the if-else statement should output the word "Failed." Both exam and programsDone are of type int.
Exercise 27 (page 83-84) in your text.
Exercise 7 (page 106).
Answers to exercises 1-3 are in your text on pages 101-102. The answer to exercise 4 will be demonstrated in class.