Database Management > STUDY GUIDE > MINDTAP EXERCISE 11_2 1000|University of South Florida (All)
MINDTAP EXERCISE 11-2 MAIN #include <iostream> #include "dateType.h" using namespace std; int main() { dateType date1(3, 15, 2008); dateType date2(15, 20, 2008); dateType date3(2, 30, 20... 09); dateType date4; int m, d, y; cout << "Date 1: "; date1.printDate(); if (date1.isLeapYear()) { cout << endl << "this is a leap year"; } else { cout << endl << "this is not a leap year"; } cout << endl; cout << "Date 2: "; date2.printDate(); if (date2.isLeapYear()) { cout << endl << "this is a leap year"; } else { cout << endl << "this is not a leap year"; } cout<<endl; cout << "Date 3: "; date3.printDate(); if (date3.isLeapYear()) { cout << endl << "this is a leap year"; } else { cout << endl << "this is not a leap year"; } cout << endl; cout << "Enter month day year: "; cin >> m >> d >>y; cout << endl; date4.setDate(m, d, y); cout << "Date 4: "; [Show More]
Last updated: 2 years ago
Preview 1 out of 5 pages
Buy this document to get the full access instantly
Instant Download Access after purchase
Buy NowInstant download
We Accept:
Can't find what you want? Try our AI powered Search
Connected school, study & course
About the document
Uploaded On
Oct 28, 2022
Number of pages
5
Written in
This document has been written for:
Uploaded
Oct 28, 2022
Downloads
0
Views
135
In Scholarfriends, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.
We're available through e-mail, Twitter, Facebook, and live chat.
FAQ
Questions? Leave a message!
Copyright © Scholarfriends · High quality services·