#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
int n,times,t,count=1;&
printf("Enter any number\n\n");
scanf("%d",&n);
printf("Enter number of times \n\n");
scanf("%d",×);
for (int i = 0; i < times; i++) {
& while(count<=10)
& {
& t=n*count;
& printf("\n%d*%d=%d",n,count,t);
& count++;
& }
}
getch();
return 0;
}
Comments
Leave a comment