Advertisement
Roboaudi

Untitled

Jan 25th, 2020
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. C++
  2. #include <iostream>
  3. #include <string>
  4.  
  5. using namespace std;
  6.  
  7. int main()
  8. {
  9. string otgovor;
  10. cout << "Pushish li?";
  11. cin >> otgovor;
  12.  
  13. if (otgovor == "Yes")
  14. {
  15. cout << "Kakvi cigari pushish?";
  16. }
  17. else if (otgovor == "No")
  18. {
  19. cout << "Zashto ne pushish?";
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement