C language program of 'Multiplication table'
#include <stdio.h>
main()
{
int i,a,b,c;
printf("Multiplication table for what number?\t\n");
scanf("%d",&a);
printf("\n");
for(i=1;i<11;i++){b=i*a;printf("%d * %d = %d\n",a,i,b);}
scanf("%d",&c);
printf("%d",c);
}
No comments:
Post a Comment
wait_i_will_reply_within_24_hours