Question: 1. Suppose we have initialized the variable SUM to 0 - SUM = 0 Suppose we are iterating through a file that contains employee salaries
1. Suppose we have initialized the variable SUM to 0 - SUM = 0
Suppose we are iterating through a file that contains employee salaries for the year. We want to find the sum of all the salaries for the year. A running total if you will. What is the assignment statement we can use to achieve this? Please express the assignment statement in the appropriate flowchart symbol. What do we call this?
2. When searching for a solution to a problem, there are 5 steps that we should follow. The first is defining the problem. What are the other 4?
3. The essence of structured programming lies in the mathematically proven fact that one needs only three types of control structures. What are the three control structures that enable us to build any algorithm to solve a problem.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
