Create a C++ program that will perform record management of students. The code must involve implementation of control structures / array / struct/ user-defined functions / class.
Create a C++ program that will perform record management of students. The code must involve implementation of control structures / array / struct/ user-defined functions / class.
Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter7: File Handling And Applications
Section: Chapter Questions
Problem 7PE
Related questions
Question
Create a C++ program that will perform record management of students. The code must involve implementation of control structures / array / struct/
user-defined functions / class.
![TEST CASE 1:
ADD RECORD <if 1 is chosen the first time>
Student No: 123456789
Lastname: Cruz
Firstname: Pedro
Age: 17
1 record/s added
TEST CASE 2:
ADD RECORD <if 1 is chosen the second time>
Student No: 123456790
Lastname: Ruiz
Firstname: Gorio
Age: 18
2 record/s added
TEST CASE 3:
DISPLAY RECORD <existing record> <if 2 is chosen the first time>
Student No: 123456789
Lastname: Cruz
Firstname: Pedro
Age: 17
1 record/s displayed
TEST CASE 4:
DISPLAY RECORD <non-existing record> <if 2 is chosen the second time>
Student No: 123456788
Record does not exist](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F3d097621-869b-4ea7-98cc-92e52748371b%2F97c010f5-73e7-4ff7-9d9d-eff68c3f682c%2Feerj0i_processed.jpeg&w=3840&q=75)
Transcribed Image Text:TEST CASE 1:
ADD RECORD <if 1 is chosen the first time>
Student No: 123456789
Lastname: Cruz
Firstname: Pedro
Age: 17
1 record/s added
TEST CASE 2:
ADD RECORD <if 1 is chosen the second time>
Student No: 123456790
Lastname: Ruiz
Firstname: Gorio
Age: 18
2 record/s added
TEST CASE 3:
DISPLAY RECORD <existing record> <if 2 is chosen the first time>
Student No: 123456789
Lastname: Cruz
Firstname: Pedro
Age: 17
1 record/s displayed
TEST CASE 4:
DISPLAY RECORD <non-existing record> <if 2 is chosen the second time>
Student No: 123456788
Record does not exist
![PROBLEM
Create a C++ program that will perform record management of students. The code must involve implementation of control structures / array / struct/
user-defined functions/class.
INSTRUCTION:
1. Create a User's Menu for your program. An example is given below:
Record Management
[1] Add Record
[2] Display Record
Input your Choice: ___
2. If 1 is chosen, the user will be allowed to create 2 unique student records using the ADD_RECORD user-defined function.
3. After creating 2 records, the user may choose 2 to display existing and non-existing records. Use DISPLAY_RECORD user-defined
function.
4. Perform the following 4 Test Cases below.
5. Submit the following through our Summative Assessment submission link on our Course Site on or before the deadline:
a. C++ Code (.cpp) file
b. Screenshot of Outputs using 4 Test Cases](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F3d097621-869b-4ea7-98cc-92e52748371b%2F97c010f5-73e7-4ff7-9d9d-eff68c3f682c%2Fiq7wy3o_processed.jpeg&w=3840&q=75)
Transcribed Image Text:PROBLEM
Create a C++ program that will perform record management of students. The code must involve implementation of control structures / array / struct/
user-defined functions/class.
INSTRUCTION:
1. Create a User's Menu for your program. An example is given below:
Record Management
[1] Add Record
[2] Display Record
Input your Choice: ___
2. If 1 is chosen, the user will be allowed to create 2 unique student records using the ADD_RECORD user-defined function.
3. After creating 2 records, the user may choose 2 to display existing and non-existing records. Use DISPLAY_RECORD user-defined
function.
4. Perform the following 4 Test Cases below.
5. Submit the following through our Summative Assessment submission link on our Course Site on or before the deadline:
a. C++ Code (.cpp) file
b. Screenshot of Outputs using 4 Test Cases
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr