Purchase Solution

C++ Programming

Not what you're looking for?

Ask Custom Question

Please assist with 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

Attached is an example of a similar program, it is in Spanish but is just an idea on how it can be done.

Attachments
Purchase this Solution

Solution Summary

The solution provides 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.

Purchase this Solution


Free BrainMass Quizzes
Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Basic Networking Questions

This quiz consists of some basic networking questions.

C++ Operators

This quiz tests a student's knowledge about C++ operators.