View Single Post
Old Apr 1st, 2008, 4:44 AM   #25
A.K.Al Shamsi
Programmer
 
A.K.Al Shamsi's Avatar
 
Join Date: Mar 2008
Posts: 35
Rep Power: 0 A.K.Al Shamsi is on a distinguished road
Re: How do I clear the screen?

you need to use
 while (true)
because it means loop forever

and you need
        if(again == 'y')
        {
            play = 1

              else
               break;
        }
         if(again == 'n')
        {
            play--;

try this it might work
A.K.Al Shamsi is offline   Reply With Quote