Question: Java programing. Produce the following output from text file. the text file Baby name is : Ada 154 196 224 331 445 627 962 0
Java programing. Produce the following output from text file.
the text file "Baby name" is :
Ada 154 196 224 331 445 627 962 0 0
Sam 99 131 168 236 278 380 467 408 46
Samantha 0 0 0 0 272 107 26 5 7
Samara 0 0 0 0 0 0 0 0 886
Samir 0 0 0 0 0 0 920 0 798
The out put Bold is user input.
name? ada
1920: 154,
1930: 196,
1940: 244,
1950: 331,
1960: 445,
1970: 627,
1980: 962,
1990: 0,
2000: 0
//
Then, you need to save the statistics into a result file for that baby name. For the example above, the result file should be named as Ada.txt, which should contain contents in the following format exactly:
Ada,
1920: 154,
1930: 196,
1940: 244,
1950: 331,
1960: 445,
1970: 627,
1980: 962,
1990: 0,
2000: 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
