Problem related to reading file and doing averege

Assignment Help Programming Languages
Reference no: EM13724386

Hello., I posted another question but since I have to do another thing into the program I'm writing a new updated question.
So I need to write a program :
First the program must read a text file (The user must be able to write the name of the text file) , the text file contains the following: the expenses the company is going to spend.
Text file example:
Keywords: #best_project_ever
Expenses:
Equipment:$300
Food: $50
Consumable expenses: $100
Consulting expenses: $40
Travel: $150
Extras: $500

Then after reading the text file, ( the file must show into the console, so the evaluator can see it)
I have to do the following:
3 evaluators will evaluate 4 parameters ( just name them parameter1, parameter2 ...) the program must ask the evaluators to input those parameters but as letters (N=1,M=2,S=3,B=4,E=5) then I have to do the average for each evaluator and then the average for all of the 3 evaluators. Now I have to convert the 3 evaluators average in percentage( 1 to 2 =25%,2 to 3 =50%, 3 to 4=75% and 4 to 5=100%)
Finally I have to write these percentages in a new file, following the things that were written in the initial text file.

Reference no: EM13724386

Questions Cloud

Describe the internal and external environments : Research and describe the internal and external environments of 2 to 3 real-world companies using an environmental scan. Fill out the SWOT Analysis form provided by the instructor and attach it to your paper.
Determine the marketing driven strategy : Determine the marketing driven strategy that the company will take. Provide a rationale for your strategy
What are the payments for a 20-year tradition mortgage : 1. What are the monthly payments for a 30-year traditional mortgage? What are the payments for a 20-year tradition mortgage? 2. Prepare an amortization table for the first six months of the traditional 30-year loan .How much of the first payment ..
What did the limbourg brothers produced for duke of berry : What did the Limbourg Brothers produced for the Duke of Berry? A Book of Hours, An altarpiece, A large fresco, A detailed woodcut.
Problem related to reading file and doing averege : First the program must read a text file (The user must be able to write the name of the text file) , the text file contains the following: the expenses the company is going to spend. Text file example: Keywords:, #best_project_ever, Expenses:, Equi..
Where should the company spend the $40 million : Corben Inc. has a successful brand with the name Crunz. The market size in which Crunz competes is $4 billion, and Crunz has generated sales of $400 million. It has a contribution margin of 30% and annual fixed costs of $20 million. Where should t..
A marketing manager interviewing : Finance course. You are a marketing manager interviewing for a new job at several different firms simultaneously. You expect to be asked the same questions in each interview dealing with what you think are some good new marketing opportunities ..
Evaluate the article using economic concepts : Evaluate the article using Economic concepts - The essence of the story: Introduce the issue, who is interested in it and why.
Summarize the two podcasts you see : Write a 400-word posting, in which you briefly summarize the two podcasts you see on www.thestoryofstuff.com, and reflect on the messages given in the podcast

Reviews

Write a Review

Programming Languages Questions & Answers

  Program to execute on cse unix environment

Your program should be written in C++, execute correctly on CSE unix environment, and compile using g++ compiler using makefile.

  Discuss what is meant by low-level programming

Discuss what is meant by "low-level" programming. What are the advantages of assembly language over higher-level languages for this type of programming?

  Program-function definition which has three int arguments

Your program will include a function definition that has three int arguments consisting of the whole dollar portion of the price and the two integers that make up the fraction part.

  Program for sentinel address of all zeros and nickname

Explain class called address_t with members for four integers and must read list up to 100 addresses and nicknames terminated by sentinel address of all zeros and nickname.

  Creating code for method tostring

Fill in the code for method toString, which must return a string containing the name, account number, and balance for the account.

  Writing script for fahrenheit in celsius temperature

Use functions to write script which enables user to enter either Fahrenheit temperature and display Celsius equivalent or enter Celsius temperature.

  Assume the filling process is so slow that the tank air

a large compressed air storage tank with a volume of 100 m3is initially at 200 kpa and 288 k. the supply line valve is

  Write html page to enter city current temperature

Write HTML page that asks user to enter city current temperature and changes background color depending on that temperature.

  Design logic for a program contains housekeeping

Design the logic for a program that contains housekeeping,detail loop,and end-of-job modules,and that calculates the service of charge customers owe for writing a bad check.

  Program to calculate state and county sales tax

Write a program that will ask the user to enter the amount of a purchase. The program should then calculate the state and county sales tax.

  Write program that merges two files

The first programming project involves writing a program that merges two files that contain polynomials. To merge two files, the input files must be in sorted order.

  Design program to list total points scored for classroom

Student ID, classroom number, and score on the achievement test. Design a program that lists the total points scored for each of the 30 classrooms.

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