Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Level 4 lesson 8 of javascript

please share code of this lesson
by

1 Answer

kshitijrana14
Try this one

let x = 10;
let y = 1;
let z;
// your code comes here
(x > y)? z=x: z=y;
console.log("Value of z:" + z);

Login / Signup to Answer the Question.