Computer Science, asked by vedu1708, 3 months ago

write a c program using for, while, do while loops​

Attachments:

Answers

Answered by alina123497
3

Program to print table for the given number using do while loop

#include<stdio.h>

int main(){

int i=1,number=0;

printf("Enter a number: ");

scanf("%d",&number);

do{

printf("%d \n",(number*i));

i++;

More items...

Similar questions