img
Question:
Published on: 21 November, 2024

Write a C program to find the multiplication table of any no.

Answer:

 

#include<stdio.h>
#include<conio.h>
main()
{
	int n,i=1;
	printf("\n Enter any number");
	scanf("%d",&n);
	while(i<=10)
	{
		printf("\n %d * %d = %d",n,i,n*i);
		i++;
	}
	getch();
}


Output:

Random questions