Question: Program in Java https://csns.calstatela.edu/submission/description?assignmentId-7011085 Requirements . Request a nibble through a message displayed to the console. Read the first character of the input, ignore the
https://csns.calstatela.edu/submission/description?assignmentId-7011085 Requirements . Request a nibble through a message displayed to the console. Read the first character of the input, ignore the rest Display one of three happy mssages following input of a nibble. the ten smallest nibbles result in one type of message; the six largest nibbles represented by uppercase letters result in second type of message the six largest nibbles represented by lowercase letters result in third type of message. Display n unhappy message following input other than a nibble. HINT: To read a single character from the console use the following command with your Scanner variable. .next ().charAt (e) Submit: NibbleMonster.java Sample Runs z011/resources/code/chapter4 java NibbleMonster :E monster hungry!!! feed nibble :o 7 nom nom nom eron@DESKTOP-OH04 PIH MNGw64 ~/ 2011/resources/code/chapter4 S java NibbleMonster :E monster hungry!!! feed nibble :o B YUM! ron DESKTOP-0H04PIH MINGW64 2011/resources/code/chapter 4 S java NibbleMonster :E monster hungry!!! yum! eron@DESKTOP-OH04PIH MINGW64 2011/resources/code/chapter 4 s java NibbleMonster E monster hungry!!! feed nibble :o? barffffff! :o? Y-Daniel-Liang-Int pdf O Type here to search
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
