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 |
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent
What are the keywords in c?
program to print upper & lower triangle of a matrix
Create a simple code fragment that will swap the values of two variables num1 and num2.
Write a program to add a given duration with time(24hrs format)
two progs are given. one starts counting frm 0 to MAX and the other stars frm MAX to 0. which one executes fast.
write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare. You will then tabulate this information in another file.
Give a method to count the number of ones in a 32 bit number?
Explain what is gets() function?
How can I make a program in c to print 'Hello' without using semicolon in the code?
9 Answers C DAC, Practical Viva Questions,