Test for code tags

Joined
Mar 22, 2015
Messages
7
Reaction score
2
here is a test code snippet within code tags:
Code:
// main begins ********************************************************
int main(void)
{
   do
   { // do - while loop begins
     switch(mainmenu()) // put up main menu and return value
     { // switch begins
       case '1':
       case 'B':
       case 'b':
       ballistics(); // ballistic menu
       break;
       case '2':
       case 'R':
       case 'r':
       loadmenu();  // reload menu
       break;
       case '0':
       case 'Q':
       case 'q':
       chois =27; // quit
       break;
     } // switch ends
   } // do - while loop ends
   while (chois != 27);  // loop until chois == 27
return(0);
}
// main ends **********************************************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,807
Latest member
ryef

Latest Threads

Top