Question: How do I do these questions without using inbuilt libraries and hardcoding /** * DO NOT use Math library * @param a * @param b
How do I do these questions without using inbuilt libraries and hardcoding
/** * DO NOT use Math library * @param a * @param b * @param c * @return the highest of the three integers passed */ public int highest(int a, int b, int c) { return 0; }
/** * assumption: one of the two values passed is even, other is odd * * @param a * @param b * @return the value that is even */ public int evenOne(int a, int b) { return 0 ; //to be completed }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
