You can only do this if the two numbers won't be equal: if(a > b) return a; else return b;
yes
Get number Find modulo 2 of number If the result is zero, number is even Else number is odd
Find your own answers....sucks mahn
Try find out if he loves someone else and if he doesn't say to him (in Private!) what's your biggest secret -and when it your time to say yours, say I have a crush on you and go all romantic!
int max (int a, int b) { return a>b?a:b; }
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+!!! *************************************************______________________
you take the biggest number and subtract it by the smallest number.
Find the biggest common factor and divide it by both numbers
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
program to find maximum of two numbers using pointers
By subtracting any two of the numbers A-B , if the output number is negative , B IS GREAT and if its positive A is great