Placeholder

CSIS 111 Module Week 6 ASSIGNMENT USER DEFINED SIMPLE DATA TYPES STRING TYPES

$7.00

Description

You are working for a lumber company, and your employer would like a program that calculates 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 that is one inch thick. The price per board foot is given in the following table:
The lumber is sold in different dimensions (specified in inches of width and height, and feet of length) that need to be converted to board feet. For example, a 2 x 4 x 8 piece is 2 inches wide, 4 inches high, and 8 feet long, and is equivalent to 5.333 board feet (2 * 4 * 8 = 64, which when divided by 12 = 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:
Develop the program using functional decomposition, and use proper style and documentation in your code. Your program must make appropriate use of value-returning functions in solving this problem. Make sure that the user prompts are clear and that the output is labeled appropriately.
Submit C++ Programming Assignment 6 by 11:59 p.m. (ET) on Monday of Module/Week 6.
SCREENSHOTS
SOLUTION
PAYMENT
CSIS 111 Week 6
CSIS 111 Assignment 6
The solution includes Visual Studio project, report, screenshots.
Attachments [Move over files to preview content of those files]
CSIS_111_Week_6.zip (19.25 MB)
CSIS111-Week-6-Screenshot-1.png
CSIS111-Week-6-Screenshot.png
Firstname_Lastname_Assignment6_Report.docx
Visual Studio Project
CSIS111Assignment6
.vs
CSIS111Assignment6
v16
.suo
Browse.VC.db
ipch
AutoPCH
6acb9ae7bcfd4c13
ASSIGNMENT6.ipch
d2d633f088521723
ASSIGNMENT6.ipch
CSIS111Assignment6
Assignment6.cpp
CSIS111Assignment6.vcxproj
CSIS111Assignment6.vcxproj.filters
CSIS111Assignment6.vcxproj.user
Debug
Assignment6.obj
CSIS111A.f81ec553.tlog
CSIS111Assignment6.lastbuildstate
CSIS111Assignment6.exe.recipe
CSIS111Assignment6.ilk
vc142.idb
vc142.pdb
CSIS111Assignment6.sln
Debug
CSIS111Assignment6.exe
CSIS111Assignment6.pdb
Preview Assignment6.cpp
xxxxx xxxxxxxxx(xxxx xxxxxxxx, xxx xxxxxx, xxxxx xxxxx, xxxxx xxxxxx, xxxxx xxxxxx);
xxx xxxx()
{
//xx xxxx xxxxxxxxx xxxxx xxxxxxxxxx xxxx xxxx xxx xxx xxxxxx
cout << "Firstname Lastname -- Assignment #6" << endl << endl; //Variable declarations char woodType; // kind of wood int number; // the number of pieces, float width; float height; float length; float price; float totalPrice = 0; while (true) { // loop // get kind of wood cout << "Enter Item: "; xxx >> xxxxxxxx;
xx (xxxxxxxx == ‘x’ || xxxxxxxx == ‘x’) {
xxxx << "xxxxx xxxx: " << xxxxxxxxxx << xxxx; xxxxx; } xxxx { Price: $19 Buy Now Checkout Added to cart Add to Cart Checkout Added to cart You May Also Like: CSIS 111 Module Week 1 ASSIGNMENT BASIC ELEMENTS CSIS 111 Module Week 2 ASSIGNMENT INPUT OUTPUT CSIS 111 Module Week 3 ASSIGNMENT CONTROL STRUCTURES IF ELSE CSIS 111 Module Week 4 ASSIGNMENT CONTROL STRUCTURES WHILE FOR DO CASE CSIS 111 Module Week 5 ASSIGNMENT USER DEFINED FUNCTIONS CSIS 111 Module Week 7 ASSIGNMENT ARRAYS CSIS 111 Module Week 8 ASSIGNMENT BATTLE SHIP GAME

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.