Problem

Write a method called plusScores that accepts a Scanner representing an input file contain...

Write a method called plusScores that accepts a Scanner representing an input file containing a series of lines that represent student records. Each student record takes up two lines of input. The first line has the student’s name and the second line has a series of plus and minus characters. Below is a sample input:

For each student you should produce a line of output with the student’s name followed by a colon followed by the percent of plus characters. For the input above, your method should produce the following output:

Kane, Erica: 40.0% plusChandler, Adam: 75.0% plusMartin, Jake: 100.0% plus

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
Solutions For Problems in Chapter 6
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT