Program read a text file-average and then inputing average

Assignment Help C/C++ Programming
Reference no: EM13766464

Reading an text file, doing an average and then inputing the average in another text file.

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: a title, an companyname, an teacher name, the duration of the project, key words, and the expenses the company is going to spend.

Text file example:
Title: Projeto
Company: UMA
Teacher: Joaquim
Duration: 5 months
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 te

Reference no: EM13766464

Questions Cloud

Assignment: global staffing : Every company finds it challenging to recruit and select top executives for an international location. The nationals of the host country will be aware of the local laws and customs and may accept a lower wage as well, but may not be familiar with ..
Types of special needs inmates and the related programs : Write a paper that describes the various concerns of three types of special needs inmates and the related programs that can meet those needs
How did american slavery compare to slavery elsewhere : Select a specific example or theme about slavery and answer this question: How did American slavery compare to slavery elsewhere
Discuss the changes to the ways of working for phab : Discuss the changes to the ways of working for Phab - i.e. discuss what processes will change, and explore how these might work in practice. You might also consider the changing information needs of the business
Program read a text file-average and then inputing average : 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: a title, an companyname, an teacher name, the duration of the project, key words, and the expenses the compa..
A diploid female plant is crossed with a tetraploid male : When a diploid female plant is crossed with a tetraploid male, the ploidy of endosperm cells in the resulting seed is :- (1) Pentaploidy (2) Diploidy (3) Triploidy (4) Tetraploidy
Finding future employment : How can participating in groups help you in not only succeeding in your current job but help you in finding future employment?
Write a paper on tchaikovsky and women in art : Write a paper on Tchaikovsky and Women in Art. Compare and contrast these two depictions of women, and comment on any general tendencies that you detect among artists of that era in this respect.
Mills principle of utility : Mill's Principle of Utility-What, according to Mill, is greatest happiness principle? Exactly how does he think that principle can be used to determine whether a proposed course of action would be the right or the wrong thing to do

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Write a program that inputs a line of text into char

8.6 (Displaying Strings in Uppercase and Lowercase) Write a program that inputs a line of text into char array s[100]. Output the line in uppercase letters and in lowercase letters.

  Grab the tokens from the token vector and find single quot

There is segmentation fault in this code and I don't know where or how to fix it. The purpose of this code right here is to grab the tokens from the token vecctor and find single quotes.

  Prompts the user to enter time in 12-hour notation

Write a program that prompts the user to enter time in 12-hour notation. The program then outputs the time in 24-hour notation. Your program must  contain  three  exception  classes

  State diagram to recognize one form

Design a state diagram to recognize one form of the comments of the C-based programming languages, those that begin with /* and end with */. and also Write and test the code to implement the state diagram.

  Write some code that puts a zero in every element of q

Given a two-dimensional array of integers named q, with 2 rows and 4 columns, write some code that puts a zero in every element of q. Declare any variables needed to help you.

  Prepare the program to calculate the future investment value

Write a C++ program that reads in investment amount, annual interest rate, and number of years in this order, and displays the future investment value using the subsequent formula:

  C# programming in microsoft visual studio to complete

Please use C# programming in Microsoft Visual Studio to complete this assignment.  You are to write a program that will prompt the user for the following information and then calculate and display the monthly payment.  Amount borrowed

  Write a program that generates all the factors of a number

Write a program that generates all the factors of a number entered by the user. For instance, the number 12 has the factors 2 * 2 * 3.

  Write a program the contains an array of 1000 elements name

Write a function named equals() that accepts two char arrays and return true if both arrays have the same characters in the same order. The function should return false otherwise. Write a simple main() function to test your function.

  Write a program that reads an array with wind-tunnel test

write a program that reads an array with wind-tunnel test data then allowss the user to enter a flight-path angle. If the angle is within the bounds of the data set, the program should then use linear inteerpolation to compute the corresponding coeff..

  Write a program to determine a natural number

Write a program to determine if a natural number has only 2 and/or 3 as prime factors and how many of each factor (2 and 3) it does have.

  Deal two cards at a time

Deal two cards at a time, print them out.- Check if they are identical, have just the same rank or just same suit or are completely.different. Print out a message indicating the result of your comparison.

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