Table of 2 👇👇
#include<stdio.h>
int main(int argc, char const *argv[])
{ char i, num;
printf("Enter any number\n", num);
scanf("%d\n", &num);
do
{
printf("%d\n",i*2);
i=i+1;
} while (i<=12);
return 0;
}
Table of 3 👇👇
#include<stdio.h>
int main(int argc, char const *argv[])
{ char i, num;
printf("Enter any number\n", num);
scanf("%d\n", &num);
do
{
printf("%d\n",i*2);
i=i+1;
} while (i<=12);
return 0;
}
Table of 9
#include<stdio.h>
int main(int argc, char const *argv[])
{ char i, num;
printf("Enter any number\n", num);
scanf("%d\n", &num);
do
{
printf("%d\n",i*9);
i=i+1;
} while (i<=12);
return 0;
}
Comments
Post a Comment