Question DateClass

Can someone help me with these 2 programs?

1) Write a c++ program that displays various dates using Date class. It should be using constructors to display today's date.

Create 2 more objects in main.
-obj1 should set and display yesterday's date using member function
-obj2 should set and display tomorrow's date using member function

2) Write a c++ program to search an number though array listed below using function.
nums[] = { 10,30,20,40,50)
Last edited on
I think you should read this first.
http://www.cplusplus.com/forum/beginner/1/
Topic archived. No new replies allowed.