Question: *********JAVA Get a number (int, float) from the user using an input method and assign the value into a variable. If the value is an
*********JAVA
Get a number (int, float) from the user using an input method and assign the value into a variable. If the value is an positive number, display a string, "the number is positive." Otherwise, "negative" or "zero". The output to be printed on the console should follow the format as follows. Blue indicates the value user inputs. Please input a number? 17 (enter) Processing..... 17 is a positive number
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
