Scanner ler=new Scanner(System.in);
/*15.escrever um algorítmo para ler os três lados de um
triângulo e informar se ele é:
a)equilátero
b)isóceles
c)escaleno */
Double L1,L2,L3;
System.out.print("digite lado1: ");
L1=ler.nextDouble();
System.out.print("digite lado2: ");
L2=ler.nextDouble();
System.out.print("digite lado3: ");
L3=ler.nextDouble();
if(L1==L2&L2==L3){
System.out.print(“esse triangulo é equilátero”);
}else{
if(L1!=L2 && L2!=L3 && L1!=L3){
System.out.print(“esse triângulo é escaleno”);
}else{
//ilegal start of expression
not statement
bad operand types for binary operator ‘&’
first type: int
second type: boolean
imcompatible types:int cannot be converted to boplean
if(L1=L2 & L1!=L3)|(L1==L3 &&L1!=L2)|(L2==L3 & L2!=L1);