Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main () {
- /* local variable definition */
- int a = 10;
- char again = 'q';
- /* do loop execution */
- do {
- printf("Would you like to go again (q to quit, anything else to continue): ");
- scanf(" %c", again);
- }while (again != 'q');
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement