Advertisement
SAADQUAMER

Multiplication table

Jun 8th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.22 KB | None | 0 0
  1. //C Program to Generate Multiplication Table
  2. #include<stdio.h>
  3. int main(){
  4.  
  5. int n,i;
  6. printf("ENTER INTEGER VALUE :");
  7. scanf("%d",&n);
  8. for(i=1;i<=10;i++){
  9.     printf("%d * %d = %d\n",n,i,(n*i));
  10. }
  11. return 0;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement