Find greatest number out of 10 number without using loop.
Answer Posted / joshi
/* for same qustion this */
void main()
{
int a,b;
clrscr();
printf (enter the two number :);
scanf("%d%d",a,b);
if (a>b)
printf ("%d\n greater number",a);
else
printf ("%d\n greter number",b);
getch();
}
| Is This Answer Correct ? | 11 Yes | 48 No |
Post New Answer View All Answers
What are the different data types in C?
Is there a built-in function in C that can be used for sorting data?
Where is c used?
Why do we use main function?
What is a structure member in c?
What are the similarities between c and c++?
What are the 5 types of organizational structures?
How do you define CONSTANT in C?
What is the use of clrscr?
What are identifiers c?
What is difference between arrays and pointers?
What is a char c?
Is array name a pointer?
What is #line used for?
In a byte, what is the maximum decimal number that you can accommodate?