Question
#include #include #include #include #include function.h using namespace std; int counter=0; int main(){ // Display menu int choice; do{ mainMenu(choice); // Switch statement for choices
#include
#include
#include
#include
#include "function.h"
using namespace std;
int counter=0;
int main(){
// Display menu
int choice;
do{
mainMenu(choice);
// Switch statement for choices
switch (choice)
{
case 1:
AddStudent();
break;
case 2:
if (!emptyarray())
DeleteStudent();
break;
case 3:
if (!emptyarray())
Updatestudent();
break;
case 4:
if (!emptyarray())
SearchStudent();
break;
case 5:
if (!emptyarray())
display();
break;
case 6:
if (!emptyarray())
SortingStudents();
break;
case 7:
cout
break;
default:
cout
break;
}
//read information:
void readinfo(students_info student[]);
}while(choice!=7);
//write file after exit
void writeinfo(students_info student[]);
return 0;
}
can if thier is an error in this code because when i run the code it apper this page?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started