Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Program Specifications: Write a C++ program to manage a list of students waiting to register for a course using a linked list. Operations should
Program Specifications: Write a C++ program to manage a list of students waiting to register for a course using a linked list. Operations should include adding a new student at the end of the list, adding a new student at the beginning of the list, removing a student from the beginning of the list, removing a student from the end of the list, and removing a student by name. Allow the user an option to exit. Be sure to use good programming methodology and keep your project modular. To Do: 1. Upload your cpp file to the Project 5 Drop Box. 2. Check the Calendar for the due date. 3. Check the rubrics to see how your project will be graded. 111 SEGI College Subang Jaya PROGRAMMING METHODOLOGY-EGC3113 ASSIGNMENT 1 Instructions Answer all questions. Answers should be typed neatly in A4 sheet and submitted through BlackBoard. Answers document should be in word format. File name should keep as your name (as per record) and your SEGi student ID. Example: John SCSI XXXXXXXXXX Submission Date: on or before 4.30 pm, 28 July 2020. QUESTION 1 Write a program to calculate the area of the circle for giving any radius by the user by using POW function in C++. (6 marks) QUESTION 2 A bag of cookies holds 40 cookies. The calorie information on the bag claims that there are 10 "servings" in the bag and that a serving equals 300 calories. Write a program that asks the user to input how many cookies they actually ate and then reports how many total calories were consumed. (6 marks) QUESTION 3 The area of a rectangle is the rectangle's length times its width. Write a program that asks for the length and width of two rectangles. The program should tell the user which rectangle has the greater area, or if the areas are the same. Write an algorithm and show the flow chart for the above program. (13 marks)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started