Read the following scenario, then answer the question that follows: “An application requires a user to enter two numbers. Once the user has entered the two numbers, the application will call a module to calculate the average of the two numbers. Once the average of the two numbers have been calculated, another module will be called to determine if the average of the two numbers is greater than 75. If the average of the two numbers is greater than 75, the message ‘Congratulations, you are in the top 5’, will be displayed.” Q.3.1 Create a flowchart for each module that will be called. The flowcharts should adequately represent the logic in the scenario provided. Q.2.3 Identify the three basic structures used in a program. Also indicate which one do you prefer over others and motivate why. Q.2.4 By using examples differentiate between a single‐alternative and a dual‐alternative if statemen
Read the following scenario, then answer the question that follows:
“An application requires a user to enter two numbers. Once the user has entered the two numbers, the application will call a module to calculate the average of the two numbers. Once the average of the two numbers have been calculated, another module will be called to determine if the average of the two numbers is greater than 75. If the average of the two numbers is greater than 75, the message ‘Congratulations, you are in the top 5’, will be displayed.” |
||
Q.3.1 |
Create a flowchart for each module that will be called. The flowcharts should adequately represent the logic in the scenario provided. |
|
Q.2.3 |
Identify the three basic structures used in a |
|
|
|
|
Q.2.4 |
By using examples differentiate between a single‐alternative and a dual‐alternative if statemen |
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images