Fill in the blanks to create a method that returns the minimum of the 2 parameters | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Fill in the blanks to create a method that returns the minimum of the 2 parameters

public int minFunc(int n1, int n2 _ { int min ; if ( n1 > n2) min = n2 ; else min = n1 ; _ min ; } who know this answer _

10th May 2017, 2:56 PM
Nurul Ain
Nurul Ain - avatar
3 Answers
+ 1
try this first if 2 else for help ;) #scripts #pleashelpme
9th Dec 2020, 7:26 PM
tieflabs
tieflabs - avatar
0
"return"
10th May 2017, 3:07 PM
Thanh Le
Thanh Le - avatar
0
false
10th May 2017, 3:09 PM
Nurul Ain
Nurul Ain - avatar