Answered You can buy a ready-made answer or pick a professional tutor to order an original one.

QUESTION

Write a Ruby program named formatfile.rb, which can be run by typing ruby widgets.rb.In your Ruby environment, the program must read an input file formatted in CSV format, named input.csv. Each record

Write a Ruby program named formatfile.rb, which can be run by typing ruby widgets.rb.

In your Ruby environment, the program must read an input file formatted in CSV format, named input.csv. Each record contains data about a student and their corresponding grades.

The data will look similar to the following:

Student Name, assignment1, assignment 2, assignment 3, assignment 4

John Adams, 90, 91, 99, 98

Paul Newman 90, 92,93,94

Mary Smith, 95,96,98,99

Be careful to follow the output format exactly, including spacing.  The output of your program must look like the following:

Student             GPA

John Adams     99.5

Compress your files into a ZIP file.

Show more
writingmachine
writingmachine
  • @
  • 17 orders completed
ANSWER

Tutor has posted answer for $10.00. See answer's preview

$10.00

** **** ****** check *** answer * **** ****** *** ****** me if *** need anything *******

Click here to download attached files: rubyProject.zip
or Buy custom answer
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question