Computer scienceProgramming languagesC++Basics of object-oriented programming

Introduction to OOP

Theory

Errors

Report a typo

Find and fix errors in the presented code.

Sample Input 1:

Sample Output 1:

all right
Write 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