So currently studying CS engineering I have got DSA tomorrow haven’t read shit. I have 12 programs that I haven’t even studied 4 programs. Just any tips to pass this exam

  • Anissem@lemmy.ml
    link
    fedilink
    arrow-up
    13
    arrow-down
    2
    ·
    4 days 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;
    

    }