subject
Engineering, 03.12.2019 19:31 xxxxbratt

Import java. util. scanner; public class exercise11_01 { public static void main(string[] args) { scanner input = new scanner(system. in); system. out. print("enter three sides: "); double side1 = input. nextdouble(); double side2 = input. nextdouble(); double side3 = input. nextdouble(); triangle triangle = new triangle(side1, side2, side3); system. out. print("enter the color: "); string color = input. next(); triangle. setcolor(color); system. out. print("enter a boolean value for filled: "); boolean filled = input. nextboolean(); triangle. setfilled(filled); system. out. println("the area is " + triangle.; system. out. println("the perimeter is " + triangle.; system. out. println(triangle);

ansver
Answers: 2

Another question on Engineering

question
Engineering, 03.07.2019 14:10
Amass of m 1.5 kg of steam is contained in a closed rigid container. initially the pressure and temperature of the steam are: p 1.5 mpa and t 240°c (superheated state), respectively. then the temperature drops to t2= 100°c as the result of heat transfer to the surroundings. determine: a) quality of the steam at the end of the process, b) heat transfer with the surroundings. for: p1.5 mpa and t 240°c: enthalpy of superheated vapour is 2900 kj/kg, specific volume of superheated vapour is 0. 1483 m/kg, while for t 100°c: enthalpy of saturated liquid water is 419kj/kg, specific volume of saturated liquid water is 0.001043m/kg, enthalpy of saturated vapour is 2676 kj/kg, specific volume of saturated vapour is 1.672 m/kg and pressure is 0.1 mpa.
Answers: 3
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
The thermal expansion or contraction of a given metal is a function of the f a)-density b)-initial temperature c)- temperature difference d)- linear coefficient of thermal expansion e)- final temperature f)- original length
Answers: 2
question
Engineering, 04.07.2019 18:10
Water in a partially filled large tank is to be supplied to the roof top, which is 8 m above the water level in the tank, through a 2.2-cm-internal-diameter pipe by maintaining a constant air pressure of 300 kpa (gage) in the tank. if the head loss in the piping is 2 m of water, determine the discharge rate of the supply of water to the roof top in liters per second.
Answers: 3
You know the right answer?
Import java. util. scanner; public class exercise11_01 { public static void main(string[] args) { s...
Questions
question
Mathematics, 28.11.2020 03:50
question
Social Studies, 28.11.2020 03:50
question
Mathematics, 28.11.2020 03:50
question
Mathematics, 28.11.2020 03:50
question
Mathematics, 28.11.2020 03:50