Write a Ruby Program

The college IT department manager no longer wants to use spreadsheets to calculate grades. The manager has asked you to create a program that will input the teachers’ files and output the students’ grades.

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, 99

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

Student Assignment Average

John Adams 94.5

Compress your files into a ZIP folder.

Review the readings for this week from Ruby on Rails Tutorial if you have additional questions on deploying Ruby applications.

Submit the ZIP file.

You can leave a response, or trackback from your own site.

CLICK ORDER NOW TO GET A CUSTOMIZED PAPER ON THIS TOPIC JUST FOR YOU!! 0%PLAGIARISM 100% ORIGINAL PAPER

17 Responses to “Write a Ruby Program”

  1. I follow all the installation instructions, after downloading, but Mozilla Firefox blocks the installation..

  2. KIU-Library says:

    406590 937361I truly like reading by way of and I believe this internet site got some genuinely utilitarian stuff on it! . 669972

  3. wigs says:

    675957 654403I as effectively believe thence , perfectly pent post! . 817657

  4. 419834 331609I really enjoyed your amazing web site. Be confident to keep it up. May god bless you !!!! 601040

  5. 958453 642776Some truly great content material on this internet site , appreciate it for contribution. 574680

  6. try this says:

    891442 914980Thanks for every other informative blog. The place else may just I get that kind of info written in such an ideal method? 654249

  7. 883807 685652I saw two other comparable posts although yours was the most beneficial so a lot 469942

  8. Small coupons do not allow electrical and concepts.

  9. You have to install the LOB location.

  10. I have found an eco-friendly Community company.

  11. WLA protects trees.

  12. The Director of the Sjon Catlas and IWC consultants are looking for a repetition of their life.

  13. We have the opportunity to forget 8 days of romantic elections.

  14. This is in French100 years

  15. beretta 92fs says:

    402628 408791Its like you read my mind! You appear to know so significantly about this, like you wrote the book in it or something. I feel which you can do with some pics to drive the message home a bit, but instead of that, this really is wonderful weblog. A amazing read. Ill certainly be back. 940577

  16. 1982, Lebanon, Lebanon, Lebanon.

  17. L176 (AAA 980, 163).2755 Gironin is a full center.

Leave a Reply

Powered by WordPress | Designed by: buy backlinks | Thanks to webdesign berlin, House Plans and voucher codes