Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Tagged as

C Do While with character variables

, 4 Nov 2012
why this Code is Not Working void main() { char op; do { printf("Hello "); printf("\nPress Y for continue and N for Exit"); scanf("%c",&op); }while(op == 'Y' || op == 'y'); }plz help me out similar code will working if i take op as integer...



Compare Revision Minor Date Status Editor
publicly available No 5-Nov-12 2:41 Available OriginalGriff
Updates in content. 41 changes had been made.
1 No 5-Nov-12 2:18 Available Rohit Pandit


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Rohit Pandit

United States United States
No Biography provided

| Advertise | Privacy | Mobile
Web04 | 2.8.140827.1 | Last Updated 5 Nov 2012
Article Copyright 2012 by Rohit Pandit
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid