Question: Write a java code to ask the user for a number . Then according to the entered value, if the is even then output =
Write a java code to ask the user for a number . Then according to the entered value, if the is even then output = 2.5, and output = 4 if the is odd.
send me a pic of stdin output please
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
