0

Fill in the blanks to calculate the maximum of the parameters:

function max(a, b) { (a >= b) return ; return b; }

9th Jan 2021, 5:03 PM
Carlos Ramos
Carlos Ramos - avatar
6 Respostas
+ 4
function max(a, b) { if (a >= b) return a; else return b; }
30th Mar 2021, 1:45 PM
Juanito Emia
Juanito Emia - avatar
9th Jan 2021, 7:35 PM
Rahima Mirzad
Rahima Mirzad - avatar
+ 1
if a else
12th Aug 2022, 4:31 PM
Ronit Zinzuvadiya
Ronit Zinzuvadiya - avatar
0
Which programming language ?
9th Jan 2021, 7:17 PM
Rahima Mirzad
Rahima Mirzad - avatar
0
if a else
11th Nov 2022, 3:14 PM
Daniela Bulimar
Daniela Bulimar - avatar
- 1
Fill in the blanks to calculate the maximum of the parameters: function max(a, b) { if (a >= b) return a ; else return b; }
2nd Dec 2021, 3:18 PM
Md. Rakibul Islam
Md. Rakibul Islam - avatar