- Get link
- X
- Other Apps
/*This program is to get the table of user inputed num*/
#include <stdio.h>
#include <conio.h>
int main()
{
int num, i;
printf("Enter a number: ");
scanf("%d", &num);
printf("Table of %d is: \n", num);
for (i = 1; i <= 10; i++)
{
printf("%d * %d = %d \n", num, i, num*i);
}
getch();
return 0;
}
- Get link
- X
- Other Apps
Comments
Post a Comment