int date, birthday;
cout << "Enter year date:";
cin >> date;
cout << endl << "Enter year birthday:";
cin >> birthday;
cout << "Your age " << date-birthday << endl;
system("pause");
cout << "Enter year date:";
cin >> date;
cout << endl << "Enter year birthday:";
cin >> birthday;
cout << "Your age " << date-birthday << endl;
system("pause");
Комментариев нет:
Отправить комментарий