Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please post C++ code PROJECT DESCRIPTION: Write a program that will input data from three input text files then compile data, calculate, and store results

please post C++ code
image text in transcribed
PROJECT DESCRIPTION: Write a program that will input data from three input text files then compile data, calculate, and store results in a single output text file. Specifically, your program should input from first.txt, last.txt, and salesrate.txt, then output results to an output file in the format of LastFirst_p3.txt. So, my output file would be JenkinsJanet_p3.txt. The file first.txt will contain the number of items to be contained in each file, followed by that many first names. The file last.txt will contain the proper number of last names. The file salesrate.txt will contain the amount of sales and a commission rate for each of the first and last names. The information in each file will be ordered in a corresponding manner. The output file should contain the following information for each line of information in the files. Note: first.txt has one extra line that contains the line count to follow

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke, David J. Auer

7th edition

133544621, 133544626, 0-13-354462-1, 978-0133544626

More Books

Students also viewed these Databases questions

Question

What sort of ethical claim is the command: be truthful.

Answered: 1 week ago