Daniel is an interior designer. He is planning to renovate one of his client's houses By choosing different colour of painting for different room based on the room area. Daniel requests a software that capable to prompt user (input by a character based on types of room, dimensions of the room The outputs of the software are to display the room area and the suitable colour for the room area) Table 1 shows the behind process of the system outcome. Based on the program description above, draw a FLOWCHART and WRITE a C program of the solution. t lergthi; input> types of roomd oulput display Hu toom Sutable color Colour Süggestion int width Is int alea int ares 22o Table 1: Colour Painting Program Types of Area Area of Room area Room "K' - Kids Rectangular: width x length Area 40m Area< 40m Area > 60m Area < 60m? Area 50m Area < 50m printf ("- Red Maroon Room Ocean Blue "D'- Dining Parallelogram: base x height Bamboo Green Hall Sun Yellow "G' - Guest Square: length x length Soft Beige Room Steel Grey ifCarea 7:40 pintf( "Coburs red mace ifC The sample output of the program should be as followiec" scarf Room Colour Painting Program Please enter the type of room:K Please enter the width and leagth of the room: 6 7 ROoArea: 42 na Colour Suggustion: Red Maroon dinansions (widthxlength) rectemigukaarealt : Vaea area) Room Colour Painting Progran Please enter the type of rooms D Please enter the base and haight of the roon: 2 9 Roon Area: 72 n2 Colour Suggeation: Banbo0 Green Room Colour Painting Progran Please enter the type of roon: G Please enter the length of the ro5m: 2 Roon Area: 49 m2 Colour Buggestion: Steel Grey Room Colour Painting Program Please enter the type of room: R Invalid roon type!
Daniel is an interior designer. He is planning to renovate one of his client's houses By choosing different colour of painting for different room based on the room area. Daniel requests a software that capable to prompt user (input by a character based on types of room, dimensions of the room The outputs of the software are to display the room area and the suitable colour for the room area) Table 1 shows the behind process of the system outcome. Based on the program description above, draw a FLOWCHART and WRITE a C program of the solution. t lergthi; input> types of roomd oulput display Hu toom Sutable color Colour Süggestion int width Is int alea int ares 22o Table 1: Colour Painting Program Types of Area Area of Room area Room "K' - Kids Rectangular: width x length Area 40m Area< 40m Area > 60m Area < 60m? Area 50m Area < 50m printf ("- Red Maroon Room Ocean Blue "D'- Dining Parallelogram: base x height Bamboo Green Hall Sun Yellow "G' - Guest Square: length x length Soft Beige Room Steel Grey ifCarea 7:40 pintf( "Coburs red mace ifC The sample output of the program should be as followiec" scarf Room Colour Painting Program Please enter the type of room:K Please enter the width and leagth of the room: 6 7 ROoArea: 42 na Colour Suggustion: Red Maroon dinansions (widthxlength) rectemigukaarealt : Vaea area) Room Colour Painting Progran Please enter the type of rooms D Please enter the base and haight of the roon: 2 9 Roon Area: 72 n2 Colour Suggeation: Banbo0 Green Room Colour Painting Progran Please enter the type of roon: G Please enter the length of the ro5m: 2 Roon Area: 49 m2 Colour Buggestion: Steel Grey Room Colour Painting Program Please enter the type of room: R Invalid roon type!
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
100%
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 5 steps with 6 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education