# include<iostream>
Using namespace std ;
Int main()
{
Char letter ;
int number ;
Cout<< " letter to quit \n";
Cin>> letter;
Cout<< " number of times" letter pressed\n";
Cin>> numbers;
Cout<< " press the " <<letter<<" key"<< number "times to quit ";
For( int i=0 i < number i++)
{
Cin>> letter;
}
return 0;
}
output will be :
Comments
Leave a comment