0

In js , without using if & else statements , wap to check if a number is divisble by 4 or not

In js , without using if & else statements , wap to check if a number is divisble by 4 or not and print true if the no.is divisble by 4 if not then print false

26th Jul 2022, 11:54 AM
Aashu Singh
Aashu Singh - avatar
1 Respuesta
+ 2
Then wap! :) If you need help, please ask a question. If you are looking for an approach: Consider the % or the ternary operator.
26th Jul 2022, 11:58 AM
Lisa
Lisa - avatar