New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
How can I read from a file this line
19 34 Gateway Arch - St. Louis, MO.
The first digit is age, second timeUsed, and the rest description. So I want to read them and store them in a variable.
The code insime my while loop of my File is int age = reader.nextInt();
Int Tused = reader.nextInt();
Description = reader.next()
0 Votes
4 AnswersHot today
Is the AI course worth the $49?
0 Votes
Notifications
6 Votes
Where to use
0 Votes
Coding path
0 Votes
How to win bits
1 Votes