Question: CSIS 223 Object-Oriented Programming with C++ Lab03-DateStructure Date Structure Record) Create a Windows console program named Lab03-DateStructure in a suitable folder. Do not create a


CSIS 223 Object-Oriented Programming with C++ Lab03-DateStructure Date Structure Record) Create a Windows console program named Lab03-DateStructure in a suitable folder. Do not create a separate directory for the solution. Copy the completed version to H:lcSIS223 and turn in a copy of the entire program folder on drive X: when that drive becomes available The program defines the dateType structure to hold an entered current date and each prompted birth date. Three function prototypes are given. Implement these functions after main). Code main() routine below struct dateType int month int day int year; b; // function prototypes // prompt for month, day, year I/pass entered DOB and date today l/ eligibility based on age and gender dateType getDate(); ageInYears (dateType birthDate, dateType today); int bool isEligible(int currAge, char sex); int main() dateType currDate; dateType dob; char // structure to store today's date // structure to store each date of birth gender; age; prompt& input cout > gender; // prompt for gender code M/F // input gender code (first instance) continue unt while (gender != "Q && gender != 'q') Q entered to signal Quit gender toupper (gender); cout gender; cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
