// Program101.cpp : Defines the entry point for the console application.
//
// Program102.cpp : Defines the entry point for the console application.
//
//My employer would like a program that calculates the cost of lumber for an order.
//The company sells pine, fir, cedar, maple, and oak. Lumber is priced by board feet (Square feet / 12).
//The price per board foot is: //Pine = 0.89 //Fir = 1.09 //Cedar = 2.26 //Maple = 4.50 //Oak = 3.10
//The lumber is sold in different dimensions, specified in width, height, and length, and needs to
//be converted into board feet. For example 2 x 4 x 8 piece of wood is equal to 5.333
//board feet ((2 x 4 x 8 ) / 12). An entry from the user will be in the form of a letter and
//four integer numbers. The letter will be one of P, F, C, M, O, corresponding to one the the five
//kinds of wood, or T meaning total. The four integers will be the number of pieces, width,
//height, and length. 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.
//An example: //Enter Item: P 10 2 4 8 //10 2x4x8 Pine, cost: $47.47 //Enter Item: M 1 1 12 8
//1 1x12x8 Maple, cost: $36.00 //Enter Item: T //Total Cost: $83.47
//The program should use a value-returning function. Do not use arrays. validate user entered values.
//please try to follow the basic layout / logic i have – function at the end of program, use a void function
//for results / other data if possible.