• 9 Posts
  • 50 Comments
Joined 2 years ago
cake
Cake day: June 8th, 2023

help-circle

















  • Anissem@lemmy.mltoAsklemmy@lemmy.mlI have exam tomorrow. Any tips?
    link
    fedilink
    arrow-up
    3
    arrow-down
    1
    ·
    4 months ago

    #include <iostream> using namespace std;

    int main() { char procrastinated;

    cout << "Did you procrastinate? (y/n): ";
    cin >> procrastinated;
    
    if (procrastinated == 'y' || procrastinated == 'Y') {
        cout << "You procrastinated! Remember, study earlier next time to avoid the stress!" << endl;
    } else {
        cout << "Good job staying on track! Keep it up!" << endl;
    }
    
    return 0;
    

    }