You are on page 1of 1

/*CU Roll Number:- Date:-13/09/2023

Registration Number:-

Name:-Ranit Bhandari */

/*Program 9(e):- Write a program to print Multiplication Table */

#include<stdio.h>

Main()

Int n;

Printf(“Enter an integer number : “);

Scanf(“%d”,&n);

Printf(“The multiplication table of %d is : \n\n”,n);

For(int i=1;i<=10;i++)

Printf(“%4d”,i);

Printf(“\n”);

For(int i=1;i<=10;i++)

Printf(“%4d”,i*n);

Printf(“\n”);

Return 0;

/*Enter an integer number : 12

The multiplication table of 12 is :

1 2 3 4 5 6 7 8 9 10

12 24 36 48 60 72 84 96 108 120

[Program finished]

*/

You might also like