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


Please Help Members By Posting Answers For Below Questions

What is main function in c?

551


Which of the following operators is incorrect and why? ( >=, <=, <>, ==)

668


Where can I get an ansi-compatible lint?

642


What is static identifier?

704


How can I change their mode to binary?

698






Why is %d used in c?

567


Is exit(status) truly equivalent to returning the same status from main?

587


Why isn't it being handled properly?

645


Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250

1509


a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if

704


What does d mean?

585


What functions are used for dynamic memory allocation in c language?

602


What are static variables in c?

629


What is scope rule of function in c?

552


What are volatile variables in c?

521