Question: Please use PYTHON. You are going to create an enrollment program that tracks courses, total enrollment, and determines the most popular course. Instructions Create an

Please use PYTHON. You are going to create an enrollment program that tracks courses,
total enrollment, and determines the most popular course.
Instructions
Create an enrollment program that accepts input from the user and
outputs the most popular course.
Input: 10 enrollment. It should allow for a user to input any
combination of caps or caps+lower case. i.e. Programming,
pRograMMing, programming, etc.
Output: Print the total enrollment as well as the most popular
course. Display all courses when there is a tie.
Make sure to provide your output as a block comment(with triple
quotes) at the very bottom of your
main.py
Example Output
Below is an example program output. In the example, user input is
underlined and highlighted.
Welcome to Shreline community college Registration program.
scC courses for Fall: Programming, Biology, Art
REGISTRATION RESULTS....
Programing -3 enrolled
Biology -3 enrolled
Art -4 enrolled
The most popular course is : Art!
Pseudocode
Pseudocode is a way that we write the algorithm for solving a
problem in plain English before we start coding, and we learned
Pseudocode in week1. We do this to work through the logical parts
of the program as much as possible. We will inevitably have to
make some corrections, but it is good practice to write pseudocode
at the start of a new problem.
So, in this assignment, you are going to start leveraging
pseudocode. I will tell you how to solve the problem in English (i.e.,
pseudocode), and you will convert it to code.
Later on, you're going to practice writing your own pseudocode
and use it to collaborate with others before you convert to code
over time. Here's some Pseudocode for the enrollment problem.
Print the intro
Make counter variables for the 3 courses which start out at
LOOP 10 times
Ask and read in a single enrollment(store in a variable)
IF the variable has the value of the first course
Add 1 to the counter for the Programming course (3 in the ex
ample above)
ELSE IF the variable has the value of the second course
Add 1 to the counter for the Biology course(3 in the example
above)
ELSE IF the variable has the value of the third course
Add 1 to the counter for the Art course(4 in the example abo
ve)
END LOOP
Print out a summary of the class registration using the counter vari
ables
If the Programming had the most enrollment
Print they are the most popular
ELSE IF the Biology had the most enrollment
Print they are the most popular
ELSE IF the Art had the most enrollment
Print they are the most popular
 Please use PYTHON. You are going to create an enrollment program

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!