0
Fill in the blanks to calculate the maximum of the parameters:
function max(a, b) { (a >= b) return ; return b; }
6 ответов
+ 4
function max(a, b) {
if (a >= b)
return a;
else
return b;
}
+ 1
https://code.sololearn.com/cxtt01DHD2bT/?ref=app (So, if it is in Java)
+ 1
if
a
else
0
Which programming language ?
0
if
a
else
- 1
Fill in the blanks to calculate the maximum of the parameters:
function max(a, b) {
if
(a >= b)
return
a
;
else
return b;
}