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 program compute salary by adding base tax

Compute by adding base tax for that salary range and product of percentage of excess and amount of salary over minimum salary for that range. Write a program which solves this problem.

  Proc mean data=ex1height

Proc mean data=EX1height;throws what sort of error message

  Menu script with commands written in shell script

Menu Script with commands written in shell script(2) and C program(2) and system call(2) - Display the current date and time

  An automated sampling and quality control system

An automated sampling and quality control system experienced a systems failure. You job is to evaluate the data collected over the past 6 hours to determine if the process being measured was in control the entire time Six measurements were taken in e..

  Design a class named timeoff

Design a class named TimeOff. The purpose of the class is to track an employee's sick leave, vacation, and unpaid time off. It should have, as members.

  Write a program that computes the salaries for employees

Write a program that computes the salaries for a collection of employees of different types. This program consists of four classes.

  Design and implement the class myarray that solves the array

Design and implement the class myArray that solves the array index out of bounds problem and also allows the user to begin the array index starting at any integer, positive or negative.

  Write the function array_dup

Write the function array_dup(n, obj) that returns an array containing n copies of obj - Write a function count_occurrences(a, obj) that counts the number of items in array a that are equal to obj.

  You will have to override some of the step-by-step procedure

Actually the author has not asked you to develop any new page here except that you will need to apply your external style sheet in your Index and Yurts pages done in Assignment 1A.

  What are the consequences of not citing computer programs

Review the document on code citation and documentation guidelines in the Course Materials section of your student Web site and the Avoiding Plagiarism tutorial available on your student Web site. Discuss the issues of proper citation as they apply..

  Write application to create-print random phone number

Write the application which creates and prints random phone number of form xxx-xxx-xxxx. Include dashes in the output. Do not let first three digits to contain 8 or 9.

  Program-visual basic to compute tips for services rendered

Write a program in Visual Basic 2010 to compute tips for services rendered. The program should request the person's occupation, the amount of the bill and the percentage tip

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