Computer Science, asked by minu56, 1 year ago

Write a program to display the table of 5 less than 50 using for next loop

Answers

Answered by garywalter1221
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
minu56: but thank you
garywalter1221: I thought u r asking for C language (and for loop)
Similar questions