" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
#include <ctime>
#include <cstdlib>
using namespace std;
int main()
{
srand(time(NULL));
int x, y;
x=rand()%10;
y=rand()%10;
cout<<x<<"*"<<y<<"=";
int wynik;
cin>>wynik;
if(wynik==x*y)
{
cout<<"DOBRZE"<<endl;
}
else
{
cout<<"ZLE"<<endl;
}
return 0;
}