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 static volatile in c?

564


What is struct node in c?

609


illustrate the use of address operator and dereferencing operator with the help of a program guys plzzz help for this question

1572


In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

2670


What type of function is main ()?

574






What is a null pointer in c?

584


Why main function is special give two reasons?

934


Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?

2045


What are pointers really good for, anyway?

604


What is bin sh c?

571


What is variable in c example?

583


What is meant by inheritance?

620


What is the function of volatile in c language?

654


Difference between strcpy() and memcpy() function?

669


Difference between MAC vs. IP Addressing

629