Have a Read!

Hi Everyone.
The idea for this page is to provide new c users simple c tutorials to learn how to develop the logic and more importantly correct way to write syntax.
ENJOY !!!

Thursday, January 27, 2011

C PROGRAM FOR PRINTING MULTIPLICATION TABLE OF No

#include<stdio.h>
int main() {
int i,num;
printf("ENTER THE NUMBER");
scanf("%d",&num);
for (i=0;i<=10;i++)
{printf("%d * %2d = %d\n",num,i,num*i);}
return 0;
}

No comments:

Post a Comment

Related Posts with Thumbnails