Welcome to PAKITWORLD!
I hope you will find PAKITWORLD forum useful...
Welcome to PAKITWORLD!
I hope you will find PAKITWORLD forum useful...
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeSearchLatest imagesLog inRegister
Search
 
 

Display results as :
 
Rechercher Advanced Search
Freelancer.com
Visitors
Live Trafic
Table of any Number in C Pageviews=1

 

 Table of any Number in C

Go down 
AuthorMessage
Admin
Admin



Posts : 216
Join date : 2011-06-17
Location : Rawalpindi

Table of any Number in C Empty
PostSubject: Table of any Number in C   Table of any Number in C EmptyThu Oct 27, 2011 5:29 am

Table of any Number in C


#include
#include
void main(void)
{
clrscr();
printf("Welcome to [You must be registered and logged in to see this link.] \n");
printf("Enter any number to find its table?");
int a,s,d;
scanf("%d",&a);
s=1;
if(a>=0&&a<=10000)
{
while(s<=10)
{
d=a*s;
printf("%d X %d = %d\n",a,s,d);
s=s+1;
}
}
else
printf("Invalid input...\n");
printf("\n\n\nI hope you will come back soon to [You must be registered and logged in to see this link.] \n");
printf("Press any key to Exit...");
getch();
}













Back to top Go down
https://pakitworld.board-directory.net
 
Table of any Number in C
Back to top 
Page 1 of 1
 Similar topics
-
» Table of any Number in C++

Permissions in this forum:You cannot reply to topics in this forum
 :: Programming :: C & C++-
Jump to: