Ad Code

Write a program to generate the multiplication table for an entered number up to 15 using C

Advertisements

 //multiplication table up to 10

#include <stdio.h>


void main(){


int n ,k ,ini t=1;


printf("\nMultiplication of : ");


scanf("%d", &n);


printf("\nUpto ::");scanf("%d",&k);


while (init<=k){


printf("\n%d x %d = %d", n, init, n*init);


init++;


}


}


Download Link
Advertisements

Post a Comment

0 Comments