write a programme that inputs a number by user and gives
its multiplication table.
Answer Posted / vignesh1988i
#include<stdio.h>
#include<conio.h>
void main()
{
int n,m;
printf("enter the table number you want :");
scanf("%d",&n);
printf("enter the steps upto which you want :");
scanf("%d",&m);
for(int i=1;i<=m;i++)
{
printf("%d * %d =%d",i,n,i*n);
}
getch();
}
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
how many errors in c explain deply
What does the error message "DGROUP exceeds 64K" mean?
What are the data types present in c?
How is actual parameter different from the formal parameter?
Write a program to reverse a given number in c?
What is wrong with this program statement? void = 10;
What are the advantages and disadvantages of pointers?
What is a void pointer? When is a void pointer used?
What is difference between structure and union?
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
How can I make it pause before closing the program output window?
Is it possible to have a function as a parameter in another function?
What is the use of pragma in embedded c?
What is an array? What the different types of arrays in c?
write a c program to do the following: a) To find the area of a triangle. b) To convert the temperature from Fahrenheit to Celsius. c) To convert the time in hours : minutes : seconds to seconds.