Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

A program to calculate the area of a room in order to purchase cans of paint. Based on the scenario you selected earlier modules, you

A program to calculate the area of a room in order to purchase cans of paint.

Based on the scenario you selected earlier modules, you must now add at least 1 menu to your program.

You need to submit updated documentation of this addition that includes the following:

  • Pseudocode that illustrates all calculations and a swap module(s).
  • Your updated flowchart must depict each step in the program, including the swapping.
  • All symbols must be connected by arrows that represent the flow of the program. The flow must make logical sense.
  • Your revised flowchart must illustrate the logic of your input validation loop.

It can be done in any programming language c++, Java, Python. If you can give me flow chart as well, I have already done If then else, I have already added 1 module in the program, I have added 1 input validation and added 1 array to the program. This just one last thing is eating my head. I will really appreciate some help.

image text in transcribed
I need flow chart for the project which i have requested to be done
Thanks for the question, here is the code in Python. I have commented the code so that you can follow and learn. det nain) Length - Latinput('Etor roos length in meters): width-intinputEnter room width is ess): ")) height - Latinput("Enter roon height in ters): ") area per lt -5.00 lt paintean paint 5 square meters Can volume 15 eh paint can hold 20 lts of paint caprice 5.99 wall area-2length. height with height) roof area-length width total area - wall arearoot area total its total area area per it total lts of paint needed Cand seeded total luscan volume .convert the decimal to Integer count if intcan meeded) cans needed cans needed intcans needed) 1 elser cans needed int(cans needed) print the total cans needed print Total Paint Cans Needed ).formatieans needed)) print the total price of all cans print Total Price: ${:. 2).formaticans needed can_price) main) Screenshot of the code and output def main() Length - float(input('Enter to length in seters): ") Width - float inputEnter room within stets): ") height-floatie nter rochicht in meters) area perlu -5.00 lt paint can paint 5 square meters can volume 15 each paint can holds 30 Its of paint caprice-5.95 wall area-2 length. height with height) roof area-length width total area wall area aces total t o paint needed total lta - total area are per it can_needed total_italcan_volus if it can needed)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions

Question

What attracts you about this role?

Answered: 1 week ago

Question

How many states in India?

Answered: 1 week ago

Question

HOW IS MARKETING CHANGING WITH ARTIFITIAL INTELIGENCE

Answered: 1 week ago