Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write a programme that inputs a number by user and gives
its multiplication table.

Answer Posted / venkatesh sabinkar

#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,i,c;
printf("enter the number:");
scanf("%d",&a);
printf("enter upto how many steps upto you want :");
scanf("%d",&b);
c=b;
for(i=1;i<=b;i++)
{
printf("%d * %d =%d",i,a,c=c+a);
}
getch();
}
getch();

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of using Unions?

1172


What are the advantages of union?

1120


Is c a great language, or what?

1166


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

2028


write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays

2288


Why c is called a middle level language?

1162


#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }

1105


write a program to create a sparse matrix using dynamic memory allocation.

4957


Linked lists -- can you tell me how to check whether a linked list is circular?

1133


A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream

1240


Explain what is the stack?

1158


What does nil mean in c?

1348


What are the advantages of using new operator as compared to the function malloc ()?

1408


What is this infamous null pointer, anyway?

1104


What is c preprocessor mean?

1373