Write program to read data of four students from input file

Assignment Help Programming Languages
Reference no: EM1372022

Write a C++ program that reads data of 4 students from an input file which name is provided by the user and displays a summary report of students' marks on an output file stdMarks.out" as follows: Each student's information occupies two lines in the input file, the first line contains the student name (up to 20 characters), the second line contains four real values between 0 and 100 representing marks of assignments, midterm, labtest, and final exam. Note that the four exams have different weights as follows (assignments 10%, midterm 20%, labtest 30% and final 40%. These weights should be defined as constant variables.

Reference no: EM1372022

Questions Cloud

Sacrifice to protect environment : Please discuss your reasons if you think that it is the sacrifice or why you don't believe that we are really making the sacrifice when talking about protecting the environment.
Write script in unix to monitor creation of pdf in directory : Write script in unix which monitors creation of .pdf or PDF file in current directory. Every minute it must display list of these filenames created after previous display a list.
Conflict theory-symbolic interactionism : Provide an example of a conflict theory perspective on crime. Provide an example of Symbolic Interactionism as a theoretical perspective on education.
Calculating total profit and revenue : Assume a company is operating at the minimum point of its short-run average total cost curve, so that marginal cost equals average total cost.
Write program to read data of four students from input file : Write C++ program which reads data of 4 students from the input file which name is given by user and displays summary report of students' marks on output file stdMarks.out"
Us nationalism and politics of fear : Fear seems to be a real motivator for some politicians and media pundits. Do you think these type of fear tactics are really successful with Americans in general?
Personal-professional and social identity : Based on personal, professional, and social identity, develop the profile of your multiple roles. Structure your response with following questions in mind: Recognize the roles you play, and in what contexts you play them in the course of the day.
Calculate the quantity of labor demanded by the firm : A company has a technology described through the production function, Calculate the quantity of labor demanded by the firm and cost minimizing K/L ratio.
Parents socialize children : Recognize and discuss the specific ways parents socialize children along gender lines. Incorporate as much relevant information from the text as possible in your response but be sure to employ your own words.

Reviews

Write a Review

Programming Languages Questions & Answers

  Develop computerized pot hole tracking and repair system

Department of public works for city has decided to develop computerized pot hole tracking and repair system. As pot holes are reported to customer service.

  Program to compute person earns in a month

Write a program that calculates how much a person earns in a month if the salary is one penny the first day, two pennies the second day, four pennies the third day.

  Write a web application which will give report of balance

Write a web application which will provide a report of the balance held in the visitor's account during the past several months.

  Write program to assist in monitoring gasoline supply

Write program to assist in monitoring gasoline supply in refinery storage tank. Your program must alert supervisor when supply of gasoline in the tank falls below 10% of the tank's

  Deisgn driver to test implementation elements to tree

Deisgn a driver to test your implementation. Add various elements to the tree, and then display elements in sorted order. Also, display minimum and maximum element.

  Program to read an employee-s number from keyboard

Write a program that reads an employee's number from the keyboard, number of hours worked and an hourly rate of pay.

  Program for saving account balance report

Savings account balance report from customer savings account file. Every input savings account record contains account number, balance forward, deposits (sum of all deposits).

  Write down script to report cumulative size of all files

Write down script which will report cumulative size of all files in and below given directory. Your script will also report name and size (in bytes) of largest file with that directory tree.

  Write program to prints the question

Write a program that prints the question"do you want to continue?" and reads a user input. if the user input is"y", "yes", "ok", "sure", or "why not?".

  Write driver class to instantiates-updates flight objects

Write a driver class called FlightTest whose main method instantiates and updates several Flight objects. Two classes are needed for this project: Flight and FlightTest.

  Write program which lets user enter charge account number

Write the program which lets user enter a charge account number. The program must determine if number is valid by checking for it in following list.

  Program to compute flow of water flowing through a pipe

Write a program to calculate the volume flow rate in cubic feet per second of water flowing through a pipe of diameter d in inches and a velocity of v feet per second.

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