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
icon
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
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
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
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Computing Algorithms
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr