Question: icrosoft.MicrosoftEdge 8wekyb3d8bbwe/TempStat CSIT 575-Programming Fundamentals for Computer Science Lab #58 Objectives To learn to code, compile and run a program using file input and an
icrosoft.MicrosoftEdge 8wekyb3d8bbwe/TempStat CSIT 575-Programming Fundamentals for Computer Science Lab #58 Objectives To learn to code, compile and run a program using file input and an output file. Assignment Plan and code a program utilizing one file for input and one file for output to solve the following problem Orlando Tree Service, Incorporated, offers the following services and rates to its customers: Tree removal Tree trimming Stump grinding $300 per tree $50 per hour $ 20 per stump plus $2.00 per inch for each stump whose diameter exceeds ten inches. The $2.00 charge is only for the diameter inches in excess of ten. Write a complete program to allow the manager to provide an estimate when he bids on a job. Your output should include a listing of each separate charge, discount, and totals. A 10 percent discount is given for any job whose total exceeds $1000.00 Output each separate charge, discount, and the total charges. input Estimate information from text file (SEE BELOw). Create the data file below using you're text editpr or Notepad. A typical entry from the input file R7 T 6.5 G8 8 10 12 14 15 15 20 25 (7 trees removed, 6.5 hours trimming trees, 8 stumps ground down) (diameters of the stumps that were ground down, in inches) where: Tree removal-The integer following R are the number of trees removed Trimming- The real number following T are the hours spent trimming Stump grinding The integer following G represents number of stumps to be ground The second line (8 10 12 1 are the diameters of the stumps ground, in inches Data F R 7T6.5 G8 8 10 12 14 15 15 20 25 ROT20 G1 9 R3TOGO
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
