<p><html><br> <h1>Program Body</h1></p> <p>#include <iostream></p> <p>using namespace std;</p> <p>void display();</p> <p>int main(){</p> <p> cout<<"welcome to this G.H.S no#3 school"<<endl;</p> <p> cout<<"press 1 to go to class 9th blue"<<endl;</p> <p> cout<<"press 2 to get into class 9th pink"<<endl;</p> <p> int a,c,e,d;</p> <p> cin>>a;</p> <p> switch (a){</p> <p>case 1:{</p> <p> cout<<"you entered in 9th blue class"<<endl;</p> <p> int b[2][2]{</p> <p> {</p> <p> 11,30</p> <p> },</p> <p> {</p> <p> 85,97</p> <p> }</p> <p> };</p> <p> cout<<"enter the roll no of students there are only 2 of them"<<endl;</p> <p> cin>>c;</p> <p> if(c==1){</p> <p> cout<<b[0][0]<<" "<<b[0][1]<<endl;</p> <p> }else if(c==2){</p> <p> cout<<b[1][0]<<" "<<b[1][1]<<endl;</p> <p><br></p> <p> }break;}</p> <p> case 2:{</p> <p> int d;</p> <p> cout<<"you entered in 9th pink class"<<endl;</p> <p> int e[2][2]={</p> <p> {</p> <p> 100,99</p> <p> },</p> <p> {</p> <p> 23,01</p> <p> }</p> <p> };</p> <p> cout<<"enter the roll no of students there are only 2 of them"<<endl;</p> <p> cin>>d;</p> <p> if(d==1){</p> <p> cout<<e[0][0]<<" "<<e[0][1]<<endl;</p> <p> }else if(d==2){</p> <p> cout<<e[1][0]<<" "<<e[1][1]<<endl;</p> <p> }</p> <p> }</p> <p> }</p> <p>display();</p> <p>}</p> <p>void display (){</p> <p> cout<<"visit new places.there are ten of them"<<endl;</p> <p> int f=10;</p> <p> cout<<f<<endl;</p> <p>}</p> <p><img src="https://www.elegantthemes.com/blog/wp-content/uploads/2017/07/programming-languages-to-learn-for-wordpress-featured-image.png" width="960" height="440"/></p> <h2>I hope you guys liked it</h2> </html>