Hello
So I just started learning how code, currently learning C++. There's a question in my assignment that's confusing me. It goes like this: "Write a program, which creates both a typedef data type named date of original data type int and
an enumerated data type named Month, consisting of the 12 months with JANUARY starting at 1.
Next create a variable of data type date, with a starting value of 15, and a variable of data type
Month, with its initial value to be APRIL." I do understand the "enumerated data named Month" but for the rest, I don't unfortunately. If there's someone can help, I would be appreciated. Thank you for your time.
What I have tried:
#include<iostream>
#include<string>
using namespace std;
int main()
{
int Date;
enum Month
{
January = 1,
February,
March,
April,
May,
June,
July,
August,
September,
October,
November,
December,
};
}