Practice 6 : System in (Scanner) (Basic Java Programming 27)

Published: 27 November 2020
on channel: Basic Java Programming for Beginners
16
0

【Basic Java Programming 27】
Let's code! I am talking about the "System in" and a "Scanner" class in Java.

====================================
[Practice]
Write a program that judges a user's score after reading the below specification and grade.

[Specification]
・Display the user's grade after checking the user's score.
・A user inputs the user's score on the prompt after running the practice program.
・The score range is more than 0 and 1000.
・Display the error message as the "Please input your correct score." when inputting the data except for the score range.
・Display the error message as the "Please input a number, not a character." when inputting the data except for a number.
・Make sure you use the "try-catch" statement in this practice.

(Grade)
・Grade A: more than score 900
・Grade B: more than score 800 and less than score 899
・Grade C: more than score 700 and less than score 799
・Grade D: more than score 600 and less than score 699
・Grade E: more than score 500 and less than score 599
・Grade F: less than score 499
====================================


◆ Practice 6 : System in (Scanner) - answer
https://note.com/mac_makoto/n/n0d2cc4...

◆ Makoto Official Site
https://sabay-sabay.asia/


On this page of the site you can watch the video online Practice 6 : System in (Scanner) (Basic Java Programming 27) with a duration of hours minute second in good quality, which was uploaded by the user Basic Java Programming for Beginners 27 November 2020, share the link with friends and acquaintances, this video has already been watched 16 times on youtube and it was liked by 0 viewers. Enjoy your viewing!