How to make a multiplication table using while loop in C

preview_player
Показать описание
This is a exercise code for the C course for printing a multiplication table using while loop

The compiler -

Thank you for watching .

#SEE #c #programming #nepal #tutorial #nepali #course #computer #cprogramming #calculator
Рекомендации по теме
Комментарии
Автор

// Online C compiler to run C program online
#include <stdio.h>

int main() {
// Write C code here
// Armstrong number
// 123 = (1*1*1) + (2*2*2) + (3*3*3)
int a, b=0;

printf("Enter a number :");
scanf("%d", &a);

while (b<10){
b++;
printf("\n %d x %d = %d", a, b, a*b);
}


return 0;
}

girishman
welcome to shbcf.ru