// Name: Connor McDowell // date: 2/9/2024 // class: CST116 // assignment: Assignment 4 (homework) #include #include "header.h" using std::cout; using std::cin; using std::endl; // user info from lecture struct userDoB { int month; int day; int year; }; void main() { userDoB newUser = inputPersonal(); } void printUser(userDoB newUser) { cout << "User's birthday is: " << newUser.month << "/" << newUser.day << "/" << newUser.year << endl; } userDoB inputPersonal() { userDoB user = {}; cout << "\n Please enter just the day you were born as a number: "; cin >> user.day; cout << "\n Please enter the month you were born as a number: "; cin >> user.month; cout << "\n Now please enter the year you were born as a number: "; cin >> user.month; return user; }