Write a program to display the table of 5 less than 50 using for next loop
Answers
Answered by
0
main()
{
int n,i,r;
clrscr();
printf("Enter the table=");
scanf("%d",&n);
printf("Enter range=");
scanf("%d",&r);
for(i=1;i<=r;i++)
{
printf("%d*%d=%d\n",n,i,n*i);
}
getch();
}
I hope this will help u
minu56:
it's a Qbasic program which is of for next loop not this
Similar questions
English,
7 months ago
Math,
7 months ago
Computer Science,
7 months ago
Physics,
1 year ago
Math,
1 year ago
Social Sciences,
1 year ago