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
What is hashing in c?
What Is The Difference Between Null And Void Pointer?
what does static variable mean?
Is there a way to jump out of a function or functions?
What is the best way to store flag values in a program?
What is meant by operator precedence?
Explain what does the function toupper() do?
How can you pass an array to a function by value?
Write a program to print “hello world” without using semicolon?
Explain what is output redirection?
What is union and structure?
Why enum is used in c?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
Explain what are header files and explain what are its uses in c programming?
Which is the best website to learn c programming?