Coding
Thursday, December 26, 2019
print table
//print any table
#include<stdio.h>
int main()
{
int i,r,c;
printf("which table you want:");
scanf("%d",&c);
for(i=1;i<=10;i++)
{
printf("%d*%d=%d\n",c,i,c*i);
}
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment