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
Is a pointer a kind of array?
Is c a great language, or what?
write a program to display all prime numbers
What do you mean by command line argument?
How do I use void main?
What is the difference between fread buffer() and fwrite buffer()?
Is c is a procedural language?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
What is register variable in c language?
What is the general form of function in c?
how do you programme Carrier Sense Multiple Access
What is indirection? How many levels of pointers can you have?
Can you write the algorithm for Queue?
What is a macro in c preprocessor?
Explain what is #line used for?