switch(mainselection)
{
case 1:
cout <<"\nYou Selected Full Systems. Please Wait...." << endl ;
Sleep(2000);
cout <<"\n1)Basic System\a" << endl;
Sleep(200);
cout <<"2)Budget System\a" << endl;
Sleep(200);
cout <<"3)Web System\a" << endl;
Sleep(200);
cout <<"4)Avarage System\a" << endl;
Sleep(200);
cout <<"5)Server System\a" << endl;
Sleep(200);
cout <<"6)Storage System\a" << endl;
Sleep(200);
cout <<"7)Power System\a" << endl;
Sleep(200);
cout <<"8)All-Roind System\a" << endl;
Sleep(200);
cout <<"9)Uber System\a" << endl;
Sleep(200);
cout <<"Please Choose An Option.\n" << endl;
cin >> fullselection;
cout <<"\nPlease Wait....\n" << endl;
if( fullselection == 1)
{
cout <<"You Have Chosen To View Basic System Specs.\n" << endl ;
Sleep(1000);
cout <<"*Lynx K7SOM Mainboard" << endl;
Sleep(400);
cout <<"*Max CPU's - One. One 500Mhz Manufactured By DMA Supplied." << endl;
Sleep(400);
cout <<"*Hard Disk Slots - Two. 24GB Supplied." << endl;
Sleep(400);
cout <<"*Modem - 1Mb DSL Supplied." << endl;
Sleep(400);
cout <<"*Cost - 16500 CR\n" << endl;
cout <<"Would You Like To Purchase This System? (Y or N)" << endl;
cin >> &buybasicsystem[0];
if( buybasicsystem[0] == 'y')
{
cout <<"Checking Credit Funds.\n" << endl;
Sleep(2000)
;if(money < 16500)
Sleep(1000)
;cout << "Error Insufficient Funds." << endl;
}
how do i get the source in box 1, to loop at the end of the source in box 2?
[edited by - SSJGaz on July 27, 2003 7:23:58 PM]
[edited by - SSJGaz on July 27, 2003 7:24:40 PM]