Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

this is a basic programming question using C# and visual studio 2017. can someone please explain how to code it Write an app that will

this is a basic programming question using C# and visual studio 2017. can someone please explain how to code it
image text in transcribed
Write an app that will aid a salesperson to estimate the price of a re-flooring job. Perform the following: 1. Ask the user how many rooms will be re- floored. 2. Loop until the length and width have been entered for all the rooms o Ask for the width of the room, read it and save the value o Ask for the length of the room, read it and save the value o Calculate the area in the current room (length x width) and store in an area array o Move to the next room in the area array 3. Ask the user for the price per square foot for the new flooring 4. Loop through all rooms Calculate the cost of re-flooring the current room o Display the cost to the user for the current room o Move to the next room in the area array 5. Display the total cost to re-floor all the rooms 6. Ask the user if he/she is done, if so end the app 7. Otherwise, loop back around and go again (start at step 1 again)

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 Systems For Advanced Applications Dasfaa 2023 International Workshops Bdms 2023 Bdqm 2023 Gdma 2023 Bundlers 2023 Tianjin China April 17 20 2023 Proceedings Lncs 13922

Authors: Amr El Abbadi ,Gillian Dobbie ,Zhiyong Feng ,Lu Chen ,Xiaohui Tao ,Yingxia Shao ,Hongzhi Yin

1st Edition

3031354141, 978-3031354144

More Books

Students also viewed these Databases questions