Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please problem has to be written in c++ for a beginner level also please comment each line to understand what the code is doing thanks

image text in transcribed
image text in transcribed
please problem has to be written in c++ for a beginner level
also please comment each line to understand what the code is doing
thanks
and please do not provide an answer which is already on chegg
thank you
image text in transcribed
image text in transcribed
P 2 00 Marks) You are asked to rood based on the following specific a C Appl program which is a house with a e Display a welcome banner Ask the other theme welcome them Step 1: Welcome to your application Step 2: Roasted and he wrote the wind height of the house the draws h e r. The must be add and bigger than the c o me less than for the width you and o ther they made . They have tries for cling wi t h c h ers step 3 Step Draw the house 3.1. De the most The roof oosists of a set of cocach is equal to the width of the house. The first number of starts in the new bye and width. For example of the width is the ro like this (13 and stars e r of stars in the last row of the roof starts with me and you increase the this process until you reach to the p e will be a triangle Hint: The number of rows needed to print draw the roof is half the width of the house+l. 3.2. Draw the body of the house: The body of the house has height now in all Last row are drawn using the dash character . There are width dashes. The walls are represented by hi Each of thes e made up of 2 characters of in the left and right sides and the rest are spaces 33. Keep track of the number of houses you have drawn Step 4. As the user if they wish you 3. If no ep 5 w e re yes pasteps Step 5. Endprogram display this mea "Hope you like your houses Here are a few sample outputs user input is highlighted in grey House Drawing Program What is your name? Anna Well Anna, welcome to my silly house drawing program Do you want me to draw a simple house for you? (yeso) yes Enter height of the house you want me to draw: 3 Please enter an odd number for the width of the house must be odd numbers and bipper than 1): 5 Do you want me to draw a simple house for you? (yeso) yes Enter height of the house you want me to draw: 5 Please enter an odd number for the width of the house (ust be odd numbers and bigger than ******* Do you want me to draw a simple house for you? (yeso) me Hope you like your 2 houses! P 2 00 Marks) You are asked to rood based on the following specific a C Appl program which is a house with a e Display a welcome banner Ask the other theme welcome them Step 1: Welcome to your application Step 2: Roasted and he wrote the wind height of the house the draws h e r. The must be add and bigger than the c o me less than for the width you and o ther they made . They have tries for cling wi t h c h ers step 3 Step Draw the house 3.1. De the most The roof oosists of a set of cocach is equal to the width of the house. The first number of starts in the new bye and width. For example of the width is the ro like this (13 and stars e r of stars in the last row of the roof starts with me and you increase the this process until you reach to the p e will be a triangle Hint: The number of rows needed to print draw the roof is half the width of the house+l. 3.2. Draw the body of the house: The body of the house has height now in all Last row are drawn using the dash character . There are width dashes. The walls are represented by hi Each of thes e made up of 2 characters of in the left and right sides and the rest are spaces 33. Keep track of the number of houses you have drawn Step 4. As the user if they wish you 3. If no ep 5 w e re yes pasteps Step 5. Endprogram display this mea "Hope you like your houses Here are a few sample outputs user input is highlighted in grey House Drawing Program What is your name? Anna Well Anna, welcome to my silly house drawing program Do you want me to draw a simple house for you? (yeso) yes Enter height of the house you want me to draw: 3 Please enter an odd number for the width of the house must be odd numbers and bipper than 1): 5 Do you want me to draw a simple house for you? (yeso) yes Enter height of the house you want me to draw: 5 Please enter an odd number for the width of the house (ust be odd numbers and bigger than ******* Do you want me to draw a simple house for you? (yeso) me Hope you like your 2 houses

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

Power Bi And Azure Integrating Cloud Analytics For Scalable Solutions

Authors: Kiet Huynh

1st Edition

B0CMHKB85L, 979-8868959943

More Books

Students also viewed these Databases questions