print the table 5 in loops
Answers were Sorted based on User's Feedback
Answer / kiran
{
int n = 5;
for(i=1;i<=10;i++)
printf("
%d x %d = %d",n,i,n*i);
}
Is This Answer Correct ? | 6 Yes | 0 No |
Answer / tushar patil
#include<stdio.h>
#include<conio.h>
main()
{
int a=5,i;
printf("TABLE OF 5");
printf("
");
for(i=1;i<=10;i++)
{
printf("%d ",i*a);
}
getch();
}
Is This Answer Correct ? | 3 Yes | 1 No |
Answer / mazahar
#include<stdio.h>
main()
{
int i,n=5;
for(i=0;i<=10;i++)
printf("%d*%d=%d",n,i,n*i);
}
Is This Answer Correct ? | 1 Yes | 0 No |
Describe the steps to insert data into a singly linked list.
How was c created?
What is the difference between typedef and #define?
How is = symbol different from == symbol in c programming?
What is the scope of static variables?
hi to every one .. how to view table pool after creating the pooled table? plz help me.. if any knows abt this ..
what is the difference between %d and %*d in c languaga?
Why do we use c for the speed of light?
to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?
What is extern keyword in c?
When is the “void” keyword used in a function?
What is structure and union in c?