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 |
How can I automatically locate a programs configuration files in the same directory as the executable?
please give me answer with details #include<stdio.h> main() { int i=1; i=(++i)*(++i)*(++i); printf("%d",i); getch(); }
what are the static variables
8 Answers HCL, iFlex, TCS, Wipro,
swap 2 numbers without using third variable?
Develop a flow chart and write a c program to find the roots of a quadratic equation ax2+bx+c=0 using switch and break statement.
What are conditional operators in C?
Write a program of advanced Fibonacci series.
Why is c called c?
What is file in c preprocessor?
What is floating point constants?
what is array?
What is hungarian notation? Is it worthwhile?