seat plan wont work :(

i cant get this code to work guys :< i need this for my final exam tomorrow :( can you help me guys with this? :(

#include <iostream>
using namespace std;


int main (){

string boys [4][3] ={ //this is where the array for boys
{"el john","ryan","joe"},
{"jeru","charles","anthony"},
{"michels","clark","james"},
{"christian","justin","alex"},
};

string girls [5][3] ={ //this is where the array for girls
{"joy","mary","caroline"},
{"annie","maria","karen"},
{"cyndy","shaira","joyce"},
{"anne","martina","ella"},
{"chelsea","eve","yume"},
};

cout<<"\t\t\t\t""Seat plan for entrance exam"<<"\n\n";
cout<<"Legends:"<<"\n"<<"c=claret"<<"\n"<<"UZ=Universidad De Zamboanga"<<"\n"<<"adzu=Ateneo"<<"\n"<<"Ch=Chong hua"<<"\n\n";

cout<<"01."<< boys[0][0]<<"\t"<<"02."<<girls [0][0]<<"\t\t"<<"03."<<boys [1][2]<< "\t"<<"04."<<girls [1][2]<< "\t"<<"05."<<boys [3][1]<< "\n"; //first row
cout<<":m:adzu"<<"\t\t"<<":g:uz"<<"\t\t"<<":m:c"<<"\t\t"<<":g:ch"<<"\t\t"<<":m:adzu"<<"\n\n"; //first row for credentials
cout <<"06."<<boys[0][1]<<"\t\t"<<"07."<<girls [0][1]<<"\t\t"<<"08."<< boys [2][0]<< "\t"<<"09."<<girls[2][0]<< "\t"<< "10."<<boys [3][2]<<"\n";// second row
cout<<":m:uz"<<"\t\t"<<":g:c"<<"\t\t"<<":m:ch"<<"\t\t"<<":g:adzu"<<"\t\t"<<":m:uz"<<"\n\n"; //second row credentials
cout<<"11."<<boys[0][2]<<"\t\t"<<"12."<<girls [0][2]<<"\t"<<"13."<< boys[2][1]<<"\t"<<"14."<<girls[2][1]<<"\t"<<"15."<<girls [3][1]<<"\n" ;// third row
cout<<":m:c"<<"\t\t"<<":g:ch"<<"\t\t"<<":m:adzu"<<"\t\t"<<":g:uz"<<"\t\t"<<":g:c"<<"\n\n";//third row credentials
cout<<"16."<<boys[1][0]<<"\t\t"<<"17."<<girls [1][0]<< "\t"<<"18."<<boys[2][2]<<"\t"<<"19."<<girls[2][2]<<"\t"<<"20."<<girls [3][2]<<"\n";// fourth row
cout<<":m:ch"<<"\t\t"<<":g:adzu"<<"\t\t"<<":m:uz"<<"\t\t"<<":g:c"<<"\t\t"<<":g:ch"<<"\n\n"; //fourth row credentials
cout<<"21."<<boys[1][1]<<"\t"<<"22."<<girls [1][1]<<"\t"<<"23."<<boys[3][0]<<"\t"<<"24."<<girls[3][0]<<"\t\t"<<"25."<<girls[4][0]<< "\n" ;// fifth row
cout<<":m:adzu"<<"\t\t"<<":g:uz"<<"\t\t"<<":m:c"<<"\t\t"<<":g:ch"<<"\t\t"<<":g:adzu"<<"\n\n"; //fifth row credentials
}
Topic archived. No new replies allowed.