write a programme that inputs a number by user and gives
its multiplication table.
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
read a number & print all its devisors using c-program?
write a c program to print the next of a particular no without using the arithmetic operator or looping statements?
hi how to convert program from notepad to turboc editor can u please help me
what is c programming?
why in C,C++'s int size is 2 byte and .net(c#) int Size is 4 byte?
Which of the Following will define a type NODE that is a node in a Linked list? A)struct node {NODE*next;int x;};type def struct node NODE; B)typedef struct NODE {struct NODE *next;int x;}; C)typedef struct NODE {NODE *next;int x;}; D)typedef struct {NODE *next;int x;}NODE;
Can we access RAM? How? Whats the range of access? Similarly What are other hardware we can access?
wite a programme in c to linear search a data using flag and without using flags?
How can I change their mode to binary?
What does emoji p mean?
can i know the source code for reversing a linked list with out using a temporary variable?
Is there any demerits of using pointer?