Answer:
Program1.c
#include <stdio.h>
int main()
{
int num, i; // declare a variable.
printf (" Enter a number to generate the table in C: ");
scanf (" %d", &num); // take a positive number from the user.
printf ("\n Table of %d", num);
// use for loop to iterate the number from 1 to 10.
Copyright © 2024 EHUB.TIPS team's - All rights reserved.
Answers & Comments
Answer:
Program1.c
#include <stdio.h>
int main()
{
int num, i; // declare a variable.
printf (" Enter a number to generate the table in C: ");
scanf (" %d", &num); // take a positive number from the user.
printf ("\n Table of %d", num);
// use for loop to iterate the number from 1 to 10.