Write a ruby program using given information

Assignment Help Programming Languages
Reference no: EM132230600

Question: 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.

Reference no: EM132230600

Questions Cloud

Discuss the new technology advantages and disadvantages : Discuss the new technology's advantages and disadvantages. Discuss the evolution of the technology. Contrast its current functionality with the functionality.
What are some advantages to your methods : Why is it so important to formulate your brief for a data presentation? Discuss some ways you would implement to formulate an effective brief.
How to properly email a college instructor : Do some research to find out how to properly email a college instructor. Compose a short email to your advisor with a pretend request for an appointment.
How the situation was dealt with : Most of your file will be fabricated. Your file will be very different from other students. You will want to view the rubric to ensure you meet all.
Write a ruby program using given information : 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.
Discuss how frontier analysis can be implemented effectively : Discuss how frontier analysis can be implemented effectively in risk management. Discuss pros and cons of frontier analysis in risk management.
Write a brief essay describing the laws and what they mean : Using the Web or other resources, find out what your state's laws are regarding cyber stalking. Write a brief essay describing those laws and what they mean.
How to organize the contents of an it policy framework : How to organize the contents of an IT policy framework? What to consider when implementing the policy and standards library?
Discuss the health insurance requirement : Select four of these characteristics and apply it to the health insurance requirement. Write a three-page essay in APA format interpreting.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd