Advertisement
Guest User

Untitled

a guest
Nov 12th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. int main () {
  2.  
  3. /* local variable definition */
  4. int a = 10;
  5. char again = 'q';
  6.  
  7. /* do loop execution */
  8. do {
  9. printf("Would you like to go again (q to quit, anything else to continue): ");
  10. scanf(" %c", again);
  11.  
  12. }while (again != 'q');
  13.  
  14. return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement