Created
November 7, 2012 15:16
-
-
Save Jack2/4032186 to your computer and use it in GitHub Desktop.
[C++]do_while_example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main(){ | |
int soo; | |
do{ | |
cout << "If you want to exit then you press 1 : " ; | |
cin >> soo; | |
} while(soo != 1); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment