Find and fix errors in the presented code.
Introduction to OOP
Errors
Report a typo
Sample Input 1:
Sample Output 1:
all rightWrite a program in C++
struct DateStruct{
int day;
int month;
int year;
}
class DateClass{
public:
int day;
int month;
int year;
}
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.