Answered step by step
Verified Expert Solution
Link Copied!

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


imageimage

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Cost Accounting A Managerial Emphasis

Authors: Charles T. Horngren, Srikant M.Dater, George Foster, Madhav

14th Edition

978-0132960649, 132960648, 132109174, 978-0132109178

More Books

Students also viewed these Computer Network questions

Question

3. Show your interest in your students as individuals.

Answered: 1 week ago

Question

2. Develop a preliminary question from a topic or issue.

Answered: 1 week ago