Question: There are three basic logic patterns that are used to create programs (Sequence, Selection, and Repetition). In the following statements, tell which logic pattern is
- There are three basic logic patterns that are used to create programs (Sequence, Selection, and Repetition). In the following statements, tell which logic pattern is best represented:
- Get the sum of the integers from 1 to 100
- If the temperature is too low, reset the thermostat
- Calculate the equation X = A+B-C
- Given a test grade, determine what letter grade it should be
- Read in an entire list of numbers and accumulate the total value.
- Determine if a number is negative or not
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
