Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Name: CS 2010 Lab 4 - Carol's Carpets 10 Points (Due Thursday, 2/19) Analyze Purpose: This assignment encourages students to practice the 4-step program design

image text in transcribed
image text in transcribed
image text in transcribed
Name: CS 2010 Lab 4 - Carol's Carpets 10 Points (Due Thursday, 2/19) Analyze Purpose: This assignment encourages students to practice the 4-step program design cycle Problem: Carol's Carpets Company builds custom-sized area rugs With materials and labor, it costs Carol's $4.50 per square foot to cut and finish a rug. In turn, they charge customers $7.95 per square foot for the finished product. Design implement Design & Implement a program that accepts the carpet dimensions (length and width), calculates the area of the carpet in square feet, the customer price, and the profit for a custom carpet from Carol's Carpets Example Output See Section 3.11 Focus on Problem Solving: A Case Study on pages 134-137 in your textbook for a similar example Estomer Price $1490.63 Step 1 Analyzer Read the problem description. Ensure that you understand the requirements. Ask question if you require clarification List and describe any constants and/or variables needed. Constant/Variable Name Description 2 Design Complete the hierarchy chart for the program. 5 Y s/CS2010_Lab4_SP20.pdf Step 2 Design Complete the hierarchy chart for the program Write the program i n edocodeINOT CCode t 1. Create a visual Studio Project/Solution named at 2. Egand the preudocode into program code 9 e 92% PARA Step Implement: 1. Create a Visual Studio Project/Solution named LastnameLab4 2. Expand the pseudocode into program code TIP: Use incremental testing (Code a little-test Code a little-test) Step 4 Test: Test your code with the given data as well as other possible user inputs. Use a calculator to check your results. Note: See the tip regarding incremental testing in Step 3 What to Submit? 1. Write your name on the lab sheet and turn in the hard copy including your list of constants & variables, hierarchy chart and pudocode 2. Zip your top level Lasteabe solution folder Upload Lastname abip via the Lab 4 nk in the Week 4 Module on Canvas 92% Name: CS 2010 Lab 4 - Carol's Carpets 10 Points (Due Thursday, 2/19) Analyze Purpose: This assignment encourages students to practice the 4-step program design cycle Problem: Carol's Carpets Company builds custom-sized area rugs With materials and labor, it costs Carol's $4.50 per square foot to cut and finish a rug. In turn, they charge customers $7.95 per square foot for the finished product. Design implement Design & Implement a program that accepts the carpet dimensions (length and width), calculates the area of the carpet in square feet, the customer price, and the profit for a custom carpet from Carol's Carpets Example Output See Section 3.11 Focus on Problem Solving: A Case Study on pages 134-137 in your textbook for a similar example Estomer Price $1490.63 Step 1 Analyzer Read the problem description. Ensure that you understand the requirements. Ask question if you require clarification List and describe any constants and/or variables needed. Constant/Variable Name Description 2 Design Complete the hierarchy chart for the program. 5 Y s/CS2010_Lab4_SP20.pdf Step 2 Design Complete the hierarchy chart for the program Write the program i n edocodeINOT CCode t 1. Create a visual Studio Project/Solution named at 2. Egand the preudocode into program code 9 e 92% PARA Step Implement: 1. Create a Visual Studio Project/Solution named LastnameLab4 2. Expand the pseudocode into program code TIP: Use incremental testing (Code a little-test Code a little-test) Step 4 Test: Test your code with the given data as well as other possible user inputs. Use a calculator to check your results. Note: See the tip regarding incremental testing in Step 3 What to Submit? 1. Write your name on the lab sheet and turn in the hard copy including your list of constants & variables, hierarchy chart and pudocode 2. Zip your top level Lasteabe solution folder Upload Lastname abip via the Lab 4 nk in the Week 4 Module on Canvas 92%

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 Design For Mere Mortals

Authors: Michael J Hernandez

4th Edition

978-0136788041

More Books

Students also viewed these Databases questions