Tabliczka Mnożenia

Program odpytuje nas z tabliczki Mnożenia


# include <iostream.h>
# include <stdlib.h>
main()
{
randomize();
int l1,l2,typ;
char ch='t';
while (ch=='t')
 {
 l1=random(10)+1;
 l2=random(10)+1;
 cout<<"Ile jest "<<l1<<" x "<<l2<<"  : ";
 cin>>typ;
 if (typ==l1*l2) cout<<"Dobrze gratuluje !!!"; else
       cout<<"Zle, glupku !!!";
 cout<<endl;
 cout<<"Jeszcze Raz [t/n] :";
 cin>>ch;
 cout<<endl;
 cout<<endl;
 }
 cout<<"KONIEC";
}