Question: - This is a group assignment with individual submisslon. In the lab sessions students should work as a team and submit one solution (exactly the
- This is a group assignment with individual submisslon. In the lab sessions students should work as a team and submit one solution (exactly the same report) individually. - Deliverables: o The C++ source code: uploaded on eCourses, including all the source file, e.g. "* "cpp", "*. "h", etc. - The C++ executable or Visual Studio Project folder (Compressed). However, if you finish the assignment during the lab time, and run it for TA or instructor, then you can skip submitting just this file. Report: each team should create a Word or PDF document to describe the assignment in narrative language. The report should include the team name, team members, date and the brief description of the assignment. Adding screenshot of the output, which shows the run of the program and its output is required. - Follow university policy on plagiarism and honesty stated in student handbook. - Program should have clear comments. The purpose of the program and your logic on choosing a specific programming approach also should be stated out clearly. 1) For this lab assignment you need to create a header sections as described in lab assignments 1 and 2. To that end, each team should create a new simple input text file with information related to the current assignment, then call the "Submission_Header_Generator_V 1 " function in their main function to generate the header. The solution for the following programming question should be printed after this header portion. 2) Write a C++ program to declare a struct type, Song that represents a song entry in an MP-3 library. It should have fields for - Title - album - artist - music category. The music category is represented by an enumeration type called Category and has 3 types: 1) pp, 2) hiphop, 3) country. a) In the main function, write statements to declare a variable called mySong of type Song, and assign it a set of values that you choose (make up values and you can hard code it). Assume that the enumeration type Category includes any song category that listed above. b) Write a void function called PrintMusic to print out the values that you assigned to the different. fields of the struct
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
