Q: 12
You are ar teviemng the fdbwng Java furxton that deteimates whether a curb*. rput by the user. *
Even or Odd Public da»s Oddorfven {
public state void mair^Strcg [ | args) (
Scarcer read - new ScanrerfSystem inje
System out prim (’Pease enter a rxmber'i;
int Number • reader nextfntO,
if(Number^2»»0)
System out prrrtln "your input number 'Number ♦ * is even ).
else
System out prntirfyour input number 'Number ♦ * is odd*);
)
}
You are Qj>ded by ’.he following checklist
•
All variables must start with a Capital letter
•
All output messages must start with a Capita letter
•
There must De a comment bne e« pla ning the purpose of the dess
How many checklist items Mve been fuelled7
SELECT ONE OPTION
Options
Discussion
No comments yet. Be the first to comment.
Be respectful. No spam.