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 is hashing in c?

1165


What Is The Difference Between Null And Void Pointer?

1252


what does static variable mean?

1102


Is there a way to jump out of a function or functions?

1094


What is the best way to store flag values in a program?

1074


What is meant by operator precedence?

1144


Explain what does the function toupper() do?

1073


How can you pass an array to a function by value?

1121


Write a program to print “hello world” without using semicolon?

1121


Explain what is output redirection?

1195


What is union and structure?

1118


Why enum is used in c?

955


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

2127


Explain what are header files and explain what are its uses in c programming?

1159


Which is the best website to learn c programming?

1078