answersLogoWhite

0

You can only do this if the two numbers won't be equal:

if(a > b)

return a;

else

return b;

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

How do you find the biggest of n numbers using pointers in C?

yes


To find biggest of four numbers using if else loop?

largest number a,b,c,d


Can you find the minimult with one single division?

Square biggest prime factor and divide original number by result. Does NOT work for some numbers, eg. 1600/24 etc.


Write a cgi application which accepts three numbers from the used and display biggest number using get and post methods?

Find your own answers....sucks mahn


How do you write a c program to find biggest among two numbers using conditional operator?

int max (int a, int b) { return a>b?a:b; }


How do you find the range mean and the meadian?

Answers down there. range: add the numbers all up and divide how many numbers you have. meadian: put all the numbers in order from smallest to biggest, then find the one in the middle. mean: the biggest minus the smallest. HOPE YOU GET AN A+!!! *************************************************______________________


How do you simplify Ratios?

Find the biggest common factor and divide it by both numbers


What do you do to find the range of numbers?

you take the biggest number and subtract it by the smallest number.


How to write a C program to find largest 2 numbers using pointers?

program to find maximum of two numbers using pointers


Find largest of n numbers using shell programming?

arg_cnt=$# arg_list=$* biggest=$1 if [ $arg_cnt -eq 0 ]; then echo "$RF there should be minimum 1 argument" exit 1 fi for each_arg in $arg_list do if [ $each_arg -gt $biggest ]; then biggest=$each_arg fi done echo " Biggest number is : $biggest \n" exit 0


How do you find the range in group of numbers?

Take the biggest number and subtract it by the smallest number


What are the smallest and biggest numbers you can find for a line of longitude?

The smallest is 0o0'0'' and the largest is 180o0'0''