Discuss about the course of students


Discuss the below:

Q: Providing a program that will ask the user how many courses he wants to input and how many students he wants to add to each course and the name of each student.

Example of a run:

INPUT:

How many courses? 2
Enter the name of the #1 course: Structure Programming
Enter the how many students: 3
Enter the name of the #1 student: Jose
Enter the name of the #2 student: Ana
Enter the name of the #3 student: Betty

Enter the name of the #2 course: Data Structures
Enter the how many students: 2
Enter the name of the #1 student: Joe
Enter the name of the #2 student: Jim

OUTPUT:

Course #1: Structure Programming
Student #1: Jose
Student #2: Ana
Student #3: Betty

Course #2: Data Structures
Student #1: Joe
Student #2: Jim

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Discuss about the course of students
Reference No:- TGS01937712

Now Priced at $20 (50% Discount)

Recommended (90%)

Rated (4.3/5)