Question: Exercise 4 Write a program that prompts the user to input the total number of students that plan to take CSBP121 and the maximum number
Exercise 4 Write a program that prompts the user to input the total number of students that plan to take CSBP121 and the maximum number of students allowed per section (class ceiling). All sections must have the same number of students. The program then outputs the number of sections, and the number of students that cannot register. Sample Input/Output: Enter the total number of students: 127 Enter the number of students per section: 20 The ideal number of sections is: 6 Number of students that cannot register is: 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
