Using Structure and Function in Program<< need help

i m beginner and i don't know about using structure and function, please help me to solution of this assignment

XYZ University needs a system for student’s courses and their semester details. A data entry operator needs to enter student’s data in to the system, and then the system will show the report of student semester information. Following data will be used by the system.

• Course code
• Course name
• Semester

The system will allow entering data for five courses at a time and will input course code along with course name, later the system will format the report in a more readable form.

Your task is to:
Write a C++ program to implement the above mentioned interface

• Your program should provide the user with options to enter data for courses along with course code. e.g.
Enter course name along with course code: CS201 Introduction to Programming


• After taking course information from user your program should prompt user to enter semester information.
e.g. Enter Semester: Fall 2016

• The program should input data for five courses and semester.
• Use structure name “course” in your program.
• Use separate functions for taking user inputs, displaying and formatting outputs.
e.g. InputCourses(),DisplayHeader(),DisplayCourses(),FormatCourse(---) etc

output
Enter course name along with course code: CS201 Introduction to Programming
Enter Semester: Fall 2016
Enter course name along with course code:CS602 data communication
Enter Semester: spring 2017
Enter course name along with course code:mth310 mathematics
Enter Semester: Fall 2016


S.no^^course code^^^^^^^^^course name^^^^^^^semester ^^^^launching year
------------------------------------------------------------------------------------------------------------
1 ^^^^^CS201^^^^^^^Introduction to Programming^^^^Fall 2016^^^^2016
2 ^^^^^CS602^^^^^^^^^^^^^data communication^^spring 2017^^^^2017
3 ^^^^mth310^^^^^^^^^^^^^^^^^^mathematics^^^^Fall 2016^^^^2016
Last edited on
Topic archived. No new replies allowed.