LAB RECORD PROGRAM NO -2 Get link Facebook X Pinterest Email Other Apps November 27, 2022 2. Write a C Program to print Multiplication Table of any given number. #include<stdio.h> #include <conio.h>void main() { int n,i=1; printf("\nEnter your n: "); scanf("%d", &n); printf(“\n MULTIPLICATION TABLE OF %d\n”,n); do { printf(“%d x %d = %d\n”,n,i,n*i); i=i+1; }while(i<=10); getch(); } Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment