subject
Engineering, 06.05.2020 03:34 jfrey7621

In the first program you were to have a pair of functions for each shape that would calculate volume and surface area. For this assignment you will create a separate class for each shape. The dimensions of the shape will be the members and must be private. Each class must have a volume function, surface area function, constructor, get and set functions. You may have input and display functions if you so desire. Your program must not allow the user to set any of the dimensions to a negative value.

ansver
Answers: 3

Another question on Engineering

question
Engineering, 03.07.2019 14:10
Line joining liquid phase with liquid and solid phase mixture is known as: a) liquidus b) solidus c) tie line d) none of the mentioned
Answers: 2
question
Engineering, 04.07.2019 18:10
Condition monitoring is a major component of. (clo4) a)- predictive maintenance. b)-preventive maintenance c)-proactive maintenance d)-reactive maintenance.
Answers: 1
question
Engineering, 04.07.2019 18:10
Water at the rate of 1 kg/s is forced through a tube with a 2.5 cm inner diameter. the inlet water temperature is 15°c, and the outlet water temperature is 50°c. the tube wall temperature is 14°c higher than the local water temperature all along the length of the tube. what is the length of the tube?
Answers: 3
question
Engineering, 04.07.2019 18:10
The flow rate of air through a through a pipe is 0.02 m5/s. a pitot static tube is placed in the flow. the radius of the pitot static tube is 1 mm. assuming the flow to be steady and the air to be at 300k, calculate the difference in total and static pressure if the diameter of the pipe is: (a) d 0.1 m d 0.05 m (c) d 0.01 m
Answers: 2
You know the right answer?
In the first program you were to have a pair of functions for each shape that would calculate volume...
Questions
question
English, 26.01.2020 20:31
question
Chemistry, 26.01.2020 20:31
Questions on the website: 13722361