Write a program to compute and print a multiplication for numbers 1 to 5
#include<stdio.h>
#include<conio.h>
int main()
{
int r,i,j,k;
printf("Enter the number range: ");
scanf("%d",&r);
for(i=1;i<=r;i++)
{
for(j=1;j<=10;j++)
printf("%d*%d=%d ",i,j,i*j);
printf("\n\n");
}
getch();
}
#include<conio.h>
int main()
{
int r,i,j,k;
printf("Enter the number range: ");
scanf("%d",&r);
for(i=1;i<=r;i++)
{
for(j=1;j<=10;j++)
printf("%d*%d=%d ",i,j,i*j);
printf("\n\n");
}
getch();
}