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
What is a program flowchart?
What is pass by reference in c?
What is far pointer in c?
What is formal argument?
State two uses of pointers in C?
What is a null string in c?
What are the differences between Structures and Arrays?
using only #include
What is a pointer in c?
How can you determine the maximum value that a numeric variable can hold?
How arrays can be passed to a user defined function
explain how do you use macro?
What is the purpose of the preprocessor directive error?
What are integer variable, floating-point variable and character variable?
What are the standard predefined macros?