Question: a = 1 , b = 2 , c = 5 a = 4 , b = 5 , c = 3 a = 3

a=1,b=2,c=5
a=4,b=5,c=3
a=3,b=3,c=4
a=3,b=3,c=3
int maini)
Scanner input=rew Scannertsystem in)
int a,b,c;
System out printlin" "Please enter the lengh of the three sides of the triande (CM): "I: a=input noxtinth:
b=input inextlinth:
c-input nextint(i)
else
i
1
)=b,&&b=(ac
1
System out printh("Equitateral triangle")
1
else
f
1
1
clse
1
1
System.out.pintin("common triangle");
1
return os
]
Answer:
 a=1,b=2,c=5 a=4,b=5,c=3 a=3,b=3,c=4 a=3,b=3,c=3 int maini) Scanner input=rew Scannertsystem in) int

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!