Question: What would happen if you moved the Set Sum = 0.0 from inside the for loop to right after the declaration. For example: // Declare
What would happen if you moved the Set Sum = 0.0 from inside the for loop to right after the declaration. For example:
// Declare variables
Declare StudentName as String
Declare ExamValue, Sum, Avg as Float
// Initialize Sum
Set Sum = 0.0;
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
