Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- int main()
- {
- std::cout << "Good Morning!" << '\n';
- int coffee = 0;
- int need;
- std::cin >> need;
- while(coffee != need)
- {
- ++coffee;
- std::cout << coffee << '\n';
- if(coffee == need)
- {
- std::cout << "Now it's a good morning!" << '\n';
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement