Question: Avoid the use of OOP: Write in C++. Use structures, switches, conditionals and file handling etc: Student Data base: We have a Pre-Nursery (Lady Bird)

Avoid the use of OOP:

Write in C++.

Use structures, switches, conditionals and file handling etc:

Student Data base:

  1. We have a Pre-Nursery (Lady Bird) school in which there are two classes.
  2. One is Kinder Garden 1 and Kinder Garden 2.
  3. KG1 has two sections Green and Yellow.
  4. KG2 has two section Purple and Blue.
  5. Each section has the capacity of 20 students(max).
  6. Some may have less than 20 but not more.
  7. The program must first ask the user if they want to enroll into the ladybird school.
  8. Then it must ask which class and section it wants to join.
  9. The program must use this to hold information of students and entertain new ones if there is availability.
  10. If there is no room in a section, the program will redirect you to another section.
  11. If that section is full, we will ask you to politely to apply next year.
  12. The program must store each students name, address, age, Date of birth, Gender, Blood group, Guardian name, Guardians phone numbers, Class and section.
  13. It must be taking all the date from the user and displaying it on the console in a structured way.
  14. All the data stored must be stored in a txt file in an ordered format.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!