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
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
How can I get random integers in a certain range?
what is a constant pointer in C
What are the different types of control structures in programming?
When should you use a type cast?
Write a program to print fibonacci series without using recursion?
What does static variable mean in c?
Explain the difference between getch() and getche() in c?
What are the different types of pointers used in c language?
What is an operator?
How many types of arrays are there in c?
what is a function method?give example?
What is include directive in c?
How to write a multi-statement macro?
The number of measuring units from an arbitarary starting point in a record,area,or control block to some other point a) recording pointer b) offset c) branching d) none