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 |
identify the in correct expression a.a=b=3=4; b.a=b=c=d=0; float a=int b=3.5; d.int a; float b; a=b=3.5;
void main() { int a=1; while(a++<=1) while(a++<=2); }
What is the use of define in c?
What is enumerated data type in c?
What is the purpose of type declarations?
Tell me the use of bit field in c language?
What does a run-time "null pointer assignment" error mean?
Write a function that will take in a phone number and output all possible alphabetical combinations
Write a program to interchange two variables without using the third variable?
17 Answers Accenture, College School Exams Tests, Infotech,
program to find the second largest word in a paragraph amongst all words that repeat more thn twice
Explain how can you check to see whether a symbol is defined?
Explain the difference between exit() and _exit() function?