Home /
Expert Answers /
Computer Science /
java-write-an-if-else-statement-to-output-39-less-than-or-equal-to-50-if-the-valuc-of-usernum-is-le-pa776
(Solved): Java Write an if else statement to output 'Less than or equal to 50 if the valuc of userNum is le ...
Java
Write an if else statement to output 'Less than or equal to 50? if the valuc of userNum is less than or equal to 50 Öbrherwise. output 'More than 50'. End with a newline Ex if the input is 49 , then the output is: Less than or equal to 50 1 inport fava, util.scannec; 2. public class Relational public static vold main(stringl) arga) ( scanner scne = new Scanner(Systen.in): Int usertiun; userNium = sche, next Int(); ?v your cose goes here "?