Welcome to PAKITWORLD!
I hope you will find PAKITWORLD forum useful...



 
HomeCalendarFAQSearchMemberlistUsergroupsLog inRegister
Search
 
 

Display results as :
 
Rechercher Advanced Search
Freelancer.com
Visitors
Live Trafic

Share | 
 

 Table of any Number in C

View previous topic View next topic Go down 
AuthorMessage
Admin
Admin


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

PostSubject: Table of any Number in C   Thu 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
View user profile http://pakitworld.board-directory.net
 
Table of any Number in C
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Purchase of a new jersey - Karlsson number changing?
» Matche's Table's
» hot rod table lamp
» Study Table For Sale
» Trials number plate

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