Computer Science, asked by samrudhi162126, 3 months ago

B. Write a program in JavaScript to areept integers &display largar number of than.​

Answers

Answered by vallinswami
0

Explanation:

function max_townums_range(x, y) { if (x >= 40 && x <= 60 && y >= 40 && y <= 60) { if (x === y) { return "Numbers are the same"; } else if (x > y) { return x; } else { return y; } } else { return "Numbers don't fit in range"; } } console. log(max_townums_range(45, 60)); console.

Similar questions