Learning Outcome
At the end of this lesson, you will be able to:
- create an application that uses if statements
Silent Watching
Review
- review the Maple Log solution
Lesson
- go over "Selection", Chapter 3
- Computer Based Problem Solving
Activity
- read the following problem:
- A small microwave is being built just to reheat lunch items. The user selects the items and the number of them that they placed in the microwave (max 3 and they must all be the same items). The engineers have figured out the correct time to heat 1 of each item. It is also known that if you have 2 of them, you should increase the time by 50% and if you have 3 of them you increase it by 100%. Use the following items:
- sub - 1 minute
- pizza - 45 seconds
- soup - 1.75 minutes
- create the first 4 steps of a "Computer Programming 6 Step" problem-solving model for the above question
- use "proper" flowchart symbols and show me before proceeding