Question: Initialize variables Assign 0 to variables numberOfStudents, totalStudents, count, average 2 . Create loop while numberOfStudents is greater than or equal to 0 . 3
Initialize variables
Assign to variables numberOfStudents, totalStudents, count, average
Create loop while numberOfStudents is greater than or equal to
Within the body of the while loop, create an input function with the prompt, "Enter number of students or to finish: Convert to integer and assign input value to numberOfStudents.
Create an if statement to check whether numberOfStudents is greater than or equal to
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
