【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/
На этой странице сайта вы можете посмотреть видео онлайн Practice 6 : System in (Scanner) (Basic Java Programming 27) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Basic Java Programming for Beginners 27 Ноябрь 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 16 раз и оно понравилось 0 зрителям. Приятного просмотра!