Advertisement
Guest User

sdf

a guest
Sep 30th, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. #include <string>
  2. using namespace std;
  3. int main()
  4. {
  5. cout << "******************************************" << endl;
  6. cout << "**** ****** ***** *** ********" << endl;
  7. cout << "**** ****** * **** *** **************" << endl;
  8. cout << "**** ****** ** *** *** ********" << endl;
  9. cout << "**** ****** *** ** ********* ********" << endl;
  10. cout << "**** ** **** * *** *******" << endl;
  11. cout << "******************************************" << endl;
  12. int nr = 2;
  13. while (nr < 5)
  14. {
  15.  
  16. string numeris;
  17. cout << "Ivesk numeri" << endl;
  18. cin >> numeris;
  19. if (numeris == "1")
  20. {
  21. cout << "Ivedei 1" << endl;
  22. continue;
  23. }
  24. if (numeris == "2")
  25. {
  26. cout << "Ivedei 2" << endl;
  27. continue;
  28. }
  29. if (numeris == "3")
  30. {
  31. cout << "Ivedei 3" << endl;
  32. continue;
  33. }
  34. else
  35. cout << "Tokio numerio nera, prasome patikslinti reiksme" << endl;
  36. }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement