F&A Diskussionen
COVID 19 simulation
 -1 Stimme
 4 AntwortenAssign each track runner a roster number and calculate the average age of the team.
As output the program should print the roster in three columns like in the following format:
Roster #           Name                     Age
1                       First Name            18
2                       Second Name       19
3                       Third Name           19
4                       Fourth Name         20
5                       Fifth Name            18
The average age of the team is 18.80.
 -1 Stimme
 1 AntwortAssign each track runner a roster number and calculate the average age of the team.
As output the program should print the roster in three columns like in the following format:
Roster #           Name                     Age
1                       First Name            18
2                       Second Name       19
3                       Third Name           19
4                       Fourth Name         20
5                       Fifth Name            18
The average age of the team is 18.80.
 0 Stimmen
 1 AntwortHow 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 Stimmen
 4 AntwortenHeute heiß
Please help me
 2 Votes
Game
 0 Votes
Please recommend me
 0 Votes
Learn tkinter 
 1 Votes
Dc
 0 Votes





















