#include using namespace std; //Let's figure out how ancient you are //with the "age calculator" program. int main() { //Step 0: declare some varibles int birthYear; int currentYear; int age; //Step 1: Ask user what year they were born cout << "WHEN WHERE YOU BORN!!!!" << endl; //Step 2: Read in their answer into birthYear variable cin >> birthYear; //Step 3: Ask what year it currently is cout << "Hey loser, what is the current year?" << endl; //Step 4: Store that info into currentYear cin >> currentYear; //Step 5: determine age from those two variables age = currentYear - birthYear; //Step 6: Tell them their age. Maybe mock them for being either //too old or too young. cout << "STraight out, this is your age: " << age << endl; //Step 7: Let's mock them if (age > 60) { cout << "Ok boomer! Time for retirement! No more fortnite allowed." << endl; } if (age < 15) { cout << "Uh oh! Alpha Alert! Skibidity whatever. Go to bed." << endl; } return 0; }