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

C language questions for civil engineering

1696


Explain the difference between the local variable and global variable in c?

1056


What are formal parameters?

1097


How do I send escape sequences to control a terminal or other device?

1063


What is difference between && and & in c?

1089


Explain what is a const pointer?

1070


Is c call by value?

1000


Write a code of a general series where the next element is the sum of last k terms.

1020


Why is c used in embedded systems?

1103


How do you do dynamic memory allocation in C applications?

1072


What is the difference between call by value and call by reference in c?

1151


program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)

2079


What is far pointer in c?

1298


What is header file definition?

1070


Explain the difference between malloc() and calloc() in c?

1033