【Basic Java Programming 36】
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 "students1.csv." Make sure that the file extension is not "txt." After creating a CSV file, code the program that displays someone's Math score.
[CSV File] students1.csv
ID,Name,Math,English,Science
1071,John Smith,80,75,70
1072,Linda Brown,55,95,65
1073,Bill Sutton,100,90,85
1074,Harry Cox,70,85,80
1075,Marty Stewart,75,90,65
[Specification]
・Display the "Please input your name." phrase on the prompt.
・Let a user input using "System.in" and scanner class.
・Get the name that a user input using the "nextLine" method of the scanner class.
・If users input a name in the CSV file, you get the Math score and display the name and score.
・If users input an unknown name, display the value of the unknown name does not exist.
--------------------
◆ Practice 14 - answer
https://note.com/mac_makoto/n/nd08cf9...
◆ Makoto Official Site
https://sabay-sabay.asia/
Sur cette page du site, vous pouvez voir la vidéo en ligne Practice 14: Search Text Data (Basic Java Programming 36) durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Basic Java Programming for Beginners 10 décembre 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 14 fois et il a aimé 0 téléspectateurs. Bon visionnage!