Write a C Program using Concepts of Arrays and string functions. You are required to create a menu-based program which should be able to perform following tasks by using Functions: 1. Add New Student 2. Remove Existing Student 3. Search Student (one OR more) by Department 4. Search Student (one OR more) by City 5. Search Student (one OR more) by Program (Using Array Sorting) 6. Update Existing Student (Using Pointers) 7. Find Total Number of Students of Specific Department 8. Find Average Result of Specific Department 9. Search Specific Student by Reg No. and Find whether He is Pass ‘OR’ Fail 10. Find the grade each subject of the student by registration No. Each Student should have Following Attributes: I. Reg No (Unique for each student) II. Name III. DOB IV. Department (Department values should be ‘Management’ or ‘Computer Science’ or ‘Physics’) V. Program (like BSCS, BSM, BSSE etc.) VI. Subjects (Maximum 5) VII. Obtained Marks in each subject out of 100 Note: 1. Each Function should get appropriate inputs. 2. Each Function should return appropriate value if required. 3. Use of Pointers and Array Sorting should be applied in program. 4. Program must be well commented.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter8: Arrays And Strings
Section: Chapter Questions
Problem 1TF: Mark the following statements as true or false. A double type is an example of a simple data type....
icon
Related questions
Topic Video
Question

Write a C Program using Concepts of Arrays and string functions. You are required to
create a menu-based program which should be able to perform following tasks by using Functions:
1. Add New Student
2. Remove Existing Student
3. Search Student (one OR more) by Department
4. Search Student (one OR more) by City
5. Search Student (one OR more) by Program (Using Array Sorting)
6. Update Existing Student (Using Pointers)
7. Find Total Number of Students of Specific Department
8. Find Average Result of Specific Department
9. Search Specific Student by Reg No. and Find whether He is Pass ‘OR’ Fail
10. Find the grade each subject of the student by registration No.
Each Student should have Following Attributes:
I. Reg No (Unique for each student)
II. Name
III. DOB
IV. Department (Department values should be ‘Management’ or ‘Computer Science’ or ‘Physics’)
V. Program (like BSCS, BSM, BSSE etc.)
VI. Subjects (Maximum 5)
VII. Obtained Marks in each subject out of 100
Note:
1. Each Function should get appropriate inputs.
2. Each Function should return appropriate value if required.
3. Use of Pointers and Array Sorting should be applied in program.
4. Program must be well commented.

Expert Solution
steps

Step by step

Solved in 3 steps with 5 images

Blurred answer
Knowledge Booster
Instruction Format
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
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Systems Architecture
Systems Architecture
Computer Science
ISBN:
9781305080195
Author:
Stephen D. Burd
Publisher:
Cengage Learning