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


Please Help Members By Posting Answers For Below Questions

What is #line used for?

580


What is the difference between functions abs() and fabs()?

649


State the difference between realloc and free.

635


Explain the Difference between the New and Malloc keyword.

688


Write a progarm to find the length of string using switch case?

1612






How is a structure member accessed?

585


regarding pointers concept

1575


How do shell structures work?

569


What is output redirection?

692


What is c token?

609


Explain what is dynamic data structure?

644


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

671


What is a memory leak? How to avoid it?

575


What are high level languages like C and FORTRAN also known as?

686


What are the rules for identifiers in c?

588