How do I send you the TXT file and cpp file.
I need a program that You're working for a lumber company, and your employer would like a program that calculate the cost of lumber for an order. The company sells pine, fir, cedar,maple, and oak lumber. Lumber is priced by board feet. one board foot equals one square foot, one inch thick. the price per board foot is given in the following table: pine 1.89 Fir 1.29 Cedar 2.36 Maple 4.70 Oak 3.00 The lumber is sold in different dimension ( specified in inches of width and height, and feet of length) that need to be converted to board feet. For example, a 2 * 4 * 8 piece is 2 inches wide, 4 inches high, and 8 feet long, and is equivalent to 5.333 board feet. an entry from the user will be in the form of a letter and four integer numbers. the integers are the number of pieces, width, height, and length. the letter will be one of P,F.C,M,O ( corresponding to the five kinds of wood) or T, meaning total. when the letter is T, there are no integers following it on the line. the program should print out the price for each entry, and print the total after T is entered. Here is an example run: Enter item: P 10 2 4 8 10 2x4x8 pine, cost: $100.80 Enter item: M 1 1 12 8 1 1x12x8 maple, cost: $68.93 Enter item: T Total cost: 169.73 Develop the program using functional decomposition,and proper style and documentation in your code. your program should make appropriate use of value- returning function in solving this problem. Be sure that the user prompts are clear, and that the outputs is labeled appropriately. Instead of keyboard input, the inputs comes from a TXT file. the output should look like Customer Lumber Orders Customer # XXXXX Pieces Size Wood Cost 5 1X8X8 maple 47.99 6 6X8X8 Oak 47.99 6 6X8X8 Oak 47.99 5 1X8X8 maple 47.99 Total Cost 191.06 Customer # XXXXX 5 1X8X8 maple 47.99 6 6X8X8 Oak 47.99 6 6X8X8 Oak 47.99 5 1X8X8 maple 47.99 Total Cost 191.06 And so on for a total of 5 orders. I have the calculation correct I just need it to read from the input file and produce an output file called Jamario Order Totals