Compute the average score for each student rounded off

Assignment Help Computer Engineering
Reference no: EM132196857

Write a C program roster.c that enters a class roster from a file roster.dat. The class roster contains records for some (not known in advance) number of students.

The record for each student consists of the last name, first name, and some scores for homeworks separated by spaces. The scores are integer numbers in the range [1..99].

Example:

Blue Larry 78 93 67 95

Brown Smith 87 56 90 49

Green Erin 90 78 64 87

Silver Eric 86 70 74 87

Orange John 96 89 75 85

Yellow Sarah 99 67 98 67

Your program must read the records and compute the average score for each student rounded off to the nearest integer and output these averages. the above example the output should be:

Blue Larry 78 93 67 95 83

Brown Smith 87 56 90 49 71

Green Erin 90 78 64 87 80

Silver Eric 86 70 74 87 79

Reference no: EM132196857

Questions Cloud

Customer loyalty is best defined as composite : Customer loyalty is best defined as a composite of three important characteristics which include all of the following EXCEPT:
Explain the model of perfect competition : The presumption of efficiency for capitalism is based on the model of perfect competition. Explain the assumptions underlying the model of perfect competition.
Implementing design thinking in established organisations : MGMT20140 - Design It - develop a written report critically discussing the challenges of implementing Design Thinking in established organisations
Industry power is responsible for predictive capabilities : Which of these sources of this industry’s power is most responsible for these predictive capabilities?
Compute the average score for each student rounded off : Write a C program roster.c that enters a class roster from a file roster.dat. The class roster contains records for some number of students.
What someone called the wide asleep listener : Is an attempt to be polite to someone during a conversation and results in what someone called the "wide asleep listener?
Write a c program which uses a structure type : Write a C program which uses a structure type that stores data records for a car, as described in the Requirements.
Aspect of the law would be both easy and challenging : Support your position with reasons why you believe the aspect of the law would be both easy and challenging.
Determine the market demand schedule on the assumption : On the basis of the three individual demand schedules in the following table and assuming these three people are the only ones in the society.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Questiona write down proper sequence of activities in

questiona. write down proper sequence of activities in design of a video rental database. the initial erd is revealed

  Structured error handling in appropriate places in program

Add a form that includes the RichTextBox control and several predefined template letters. This part of the program would be used to write letters to your customers when there is a specific issue you will like to address with them, so use your imag..

  What is the best definition of a trust boundary

What is the best definition of a trust boundary? What are the 3 most essential questions to ask in threat modeling?

  Calculate the surface area of a right circular cone

Create a function that will calculate the surface area of a right circular cone whose arguments will be received through the command line.

  Write a summary on cloud computing

Write a 2-3-page summary on Cloud Computing for Increased Business Value.

  Establish separate networks for each department

Company manager wants to establish separate networks for each department and one subnet for guest computers.

  Define what is the sampling

Basic Sampling. You are employed by Northeast Airlines and have been asked to determine the rate of on-time arrivals for competing airlines at a proposed hub.

  List what might be done to provide fault tolerance

List what might be done to provide fault tolerance for a single system. List what might be done to provide fault tolerance for a data center level.

  What are the benefits and drawbacks of applications

What are the benefits and drawbacks of applications used for productivity, file storage, collaboration, and communication? Give example of one in each category.

  Create a data frame that is equivalent to the sas data

Read inPrecipitation.dat using R. Submit your code, and a listing and an str() of the data frame you created. (Hint: you will need to handle the missing value correctly. Read in Traffic.dat using R and create a data frame that is equivalent to the ..

  Write an iterator for the shape class

Write an iterator for the Shape class. Use this iterator to traverse the collection of shapes that are created to display on the page.

  Create a prototype of a stand-alone website

COIT 20268 - Responsive Web Design (RWD). To complete the given project specified in the Background section above, you are to create a prototype of a stand-alone website for a desktop computer

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