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 |
convert 12345 to 54321 withoutusing strig
What are nested functions in c?
what is C?
Explain what is wrong with this program statement?
what are brk, sbrk?
Explain how does flowchart help in writing a program?
What is stack in c?
In which layer of the network datastructure format change is done
Does * p ++ increment p or what it points to?
What are dangling pointers? How are dangling pointers different from memory leaks?
while initialization of two dimensional arrays we can initialize like a[][2] but why not a[2][] is there any reason behind this?
What is main void in c?