Answered step by step
Verified Expert Solution
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
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%
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/08/66c5befdb611b_51766c5befd11f4e.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/08/66c5befea5156_51766c5befe007c5.jpg)
![image text in transcribed](https://s3.amazonaws.com/si.experts.images/answers/2024/08/66c5beffa0636_51966c5beff0590f.jpg)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
![blur-text-image](https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-text-image.webp)
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](https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-subtext-image.webp)
Step: 3
![blur-text-image](https://dsd5zvtm8ll6.cloudfront.net/includes/images/document_product_info/blur-subtext-image.webp)
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started