Question: Instruction: Fix the error in the line 92 din.cpp X 89 break; 90 91 main() int op=0; 7 ob 13 object of class student student

Instruction: Fix the error in the line 92 Instruction: Fix the error in the line 92 din.cpp X 89 break;
90 91 main() int op=0; 7 ob 13 object of class student
student ob; /* the option will work until button 31pressed to while
(op!=3) 100 101 102 cout>op; /* option with switch case */ switch
(op) case 1: Logs & others Code::Blocks X Search results X Cccc

din.cpp X 89 break; 90 91 main() int op=0; 7 ob 13 object of class student student ob; /* the option will work until button 31pressed to while (op!=3) 100 101 102 cout>op; /* option with switch case */ switch (op) case 1: Logs & others Code::Blocks X Search results X Cccc Build log x Build messages x Cop Check/Vera++ File Line Message === Build: Debug in Assigment_Modll (compiler: GNU GCC Compiler) - C:\Users\Jorge... 92 errors expected declaration before token Build Eiled ROTS) 0 warning(s) 0 minute(s), 0 second(s) - Windows (CRLF) WINDOWS-1252 C/C++ Line 92. Col. Pos 2400 Mod11\main.cpp arch main.cpp X NESREBoonWNH #include #include #include #include #include #include using namespace std; /* global variable */ /* here i is added with random values to generate default value */ int j=0, i=l, m, n; class name is student / class student private: y private variable/ int k, i,: structure in private part struct std int yearno, id; char fname[100]: s & others Y u ld log Build messages 22 23 24 25 26 char iname [100]; 19 [100]; /* structure of array/ 7* public part has functions */ 7* all are member functions */ public: void insert(); void erase(); void fin_prg(); 27 28 29 30 31 32 /* function define with class reference void student :: insert (0) 35 m /* random value taking srand (time (NULL)); as is incremented so will not be repeated 7 so here pis defaulted value p= (rand( 10 + ) - 10+i; default value and studenti cout>n; for (k0; k

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!