Best writers. Best papers. Let professionals take care of your academic papers

Order a similar paper and get 15% discount on your first order with us
Use the following coupon "FIRST15"
ORDER NOW

4. What would happen if you moved the Set Sum = 0.0 from inside the for loop to right

4. 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;

Support your experimentation with screen captures of executing the new code.

ORIGINAL CODE – #include int main (){ /* variable definition: */ char StudentName[100]; float ExamValue, Sum, Avg; int students,exams; // Loop through 5 Students for (students=0; students

 
Looking for a Similar Assignment? Order now and Get 10% Discount! Use Coupon Code "Newclient"