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

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, skpdancer1605
Ariver flows from north to south at 8 km/h. a boat is to cross this river from west to east at a speed of 20 km/h (speed of the boat with respect to the earth/ground). at what angle (in degrees) must the boat be pointed upstream such that it will proceed directly across the river (hint: find the speed of the boat with respect to water/river)? a 288 b. 21.8 c. 326 d. 30.2
Answers: 3
image
Engineering, 04.07.2019 18:10, aaliyah80
The drive force for diffusion is 7 fick's first law can be used to solve the non-steady state diffusion. a)-true b)-false
Answers: 1
image
Engineering, 04.07.2019 18:10, wyattlb97
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
image
Engineering, 04.07.2019 19:10, Destinationz
Asteam is contained in a rigid tank with a volume of 1 m3. initially, the pressure and temperature are 7 bar and 500 oc, respectively. the temperature drops due to cooling process. determine: (1) the temperature at which condensation begins in °c, (2) the fraction of the total mass that has condensed when the pressure decreased to 0.5 bar. (3) the volume in m3 occupied by saturated liquid at the final state?
Answers: 3
You know the right answer?
Import java. util. scanner; public class exercise11_01 { public static void main(string[] args) { s...

Questions in other subjects:

Konu
Mathematics, 20.04.2020 21:42
Konu
Social Studies, 20.04.2020 21:42
Konu
Mathematics, 20.04.2020 21:42
Konu
Mathematics, 20.04.2020 21:42