Skip to content

Instantly share code, notes, and snippets.

@echo-akash
Created August 10, 2017 17:21
Show Gist options
  • Save echo-akash/e62fef1a64c34021a78ec28e6a760218 to your computer and use it in GitHub Desktop.
Save echo-akash/e62fef1a64c34021a78ec28e6a760218 to your computer and use it in GitHub Desktop.
Print a multiplication table of input number.
#include<stdio.h>
int main()
{
int i,x;
printf("enter :");
scanf("%d",&x);
for(i=1;i<=10;i++)
{
printf("%d*%d=%d\n",x,i,x*i);
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment