Table Program Using While Loop
Table Program Using While Loop
#include <stdio.h>
#include <math.h>
double a,b,c;
int i;
int main()
{
printf("Enter:");
scanf(" %lf",&a);
while(i < 11)
{
c = a*i;
printf(" \n%lf X %d = %lf",a,i,c);
i++;
}
return (0);
}
https://www.programiz.com/online-compiler/4rlPYzb7r4AhJ