Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <string>
- using namespace std;
- int main()
- {
- cout << "******************************************" << endl;
- cout << "**** ****** ***** *** ********" << endl;
- cout << "**** ****** * **** *** **************" << endl;
- cout << "**** ****** ** *** *** ********" << endl;
- cout << "**** ****** *** ** ********* ********" << endl;
- cout << "**** ** **** * *** *******" << endl;
- cout << "******************************************" << endl;
- int nr = 2;
- while (nr < 5)
- {
- string numeris;
- cout << "Ivesk numeri" << endl;
- cin >> numeris;
- if (numeris == "1")
- {
- cout << "Ivedei 1" << endl;
- continue;
- }
- if (numeris == "2")
- {
- cout << "Ivedei 2" << endl;
- continue;
- }
- if (numeris == "3")
- {
- cout << "Ivedei 3" << endl;
- continue;
- }
- else
- cout << "Tokio numerio nera, prasome patikslinti reiksme" << endl;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement