area of the room (length * breadth * height). In the main program, assign values to the (length, breadth, height) and use the methods calculateArea() and calculateVolume ()

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter7: Using Methods
Section: Chapter Questions
Problem 17RQ
icon
Related questions
Question
I need only flowchart for all
Taskl:
Crate a class named Room with the following:
Public class variables (length, breadth, height).
Public, double type method calculateArea() without arguments, used to calculate the area
of the room (length * breadth).
Public, double type method calculateVolume () without arguments, used to calculate the
area of the room (length * breadth * height).
In the main program, assign values to the (length, breadth, height) and use the methods
calculateArea() and calculateVolume ()
Task2:
Crate a class named Room with the following:
Private class variables (length, breadth, height).
Public, double type method calculateArea() without arguments, used to calculate the area
of the room (length * breadth).
Public, double type method calculateVolume () without arguments, used to calculate the
area of the room (length * breadth * height).
In the main program, assign values to the (length, breadth, height) and use the methods
calculateArea() and calculateVolume ()
Task3:
Crate a class named Room with the following:
Private class variables (length, breadth, height).
Public, double type method calculateArea(double L, double B), used to calculate the area
of the room (length * breadth).
Public, double type method calculateVolume (double L, double B, double H), used to
calculate the area of the room (length * breadth * height).
- In the main program, assign values to the (length, breadth, height) and use the methods
calculateArea(double L, double B) and calculateVolume (double L, double B, double H)
Transcribed Image Text:Taskl: Crate a class named Room with the following: Public class variables (length, breadth, height). Public, double type method calculateArea() without arguments, used to calculate the area of the room (length * breadth). Public, double type method calculateVolume () without arguments, used to calculate the area of the room (length * breadth * height). In the main program, assign values to the (length, breadth, height) and use the methods calculateArea() and calculateVolume () Task2: Crate a class named Room with the following: Private class variables (length, breadth, height). Public, double type method calculateArea() without arguments, used to calculate the area of the room (length * breadth). Public, double type method calculateVolume () without arguments, used to calculate the area of the room (length * breadth * height). In the main program, assign values to the (length, breadth, height) and use the methods calculateArea() and calculateVolume () Task3: Crate a class named Room with the following: Private class variables (length, breadth, height). Public, double type method calculateArea(double L, double B), used to calculate the area of the room (length * breadth). Public, double type method calculateVolume (double L, double B, double H), used to calculate the area of the room (length * breadth * height). - In the main program, assign values to the (length, breadth, height) and use the methods calculateArea(double L, double B) and calculateVolume (double L, double B, double H)
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Returning value from Function
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,