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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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