Practice 15: Create a CSV File (Basic Java Programming 37)

Опубликовано: 11 Декабрь 2020
на канале: Basic Java Programming for Beginners
43
1

【Basic Java Programming 37】
Let's code! Read sentences, and then create the new practice Java program on your own.

--------------------
[Practice]
Create a CSV file the same as the below one, and then save it as a CSV file. Name the file as "students2.csv." Make sure that the file extension is not "txt."



[CSV File] students2.csv
ID,Name,Score
1071,John Smith,80
1072,Linda Brown,55
1073,Bill Sutton,100
1074,Harry Cox,65
1075,Marty Stewart,75

Judge all students' scores in the "students2.csv." The grade is decided according to the below criteria. Let's code that all students' ID, name, score, and grades are written in the new CSV file as a "result.csv."


[Grade]
・Grade A: The score is greater than or equals to 90.
・Grade B: The score is less than 90, and it is greater than or equals to 75.
・Grade C: The score is less than 75, and it is greater than or equals to 60.
・Grade D: The score is less than 60.
・Grade F: We cannot judge the score.


[Specification]
・In the first line of the new CSV file, add the Grade column next to the Score.
・Don't forget to break a line.
・Convert a "String" data to an "int" type value, like this.
--------------------

◆ Practice 15
https://note.com/mac_makoto/n/n9d85bf...

◆ Answer
https://github.com/makoto-sabay/pract...

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


На этой странице сайта вы можете посмотреть видео онлайн Practice 15: Create a CSV File (Basic Java Programming 37) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Basic Java Programming for Beginners 11 Декабрь 2020, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 43 раз и оно понравилось 1 зрителям. Приятного просмотра!