import java.util.Scanner;
public class SwitchCase {
public static void main(String[] args) {
Scanner teclado = new Scanner(System.in);
int opc;
System.out.println("i desea saber su bonficicacion digite 1.");
opc = teclado.nextInt();
switch (opc) {
case 1:
int nu;
System.out.println("Ingrese ganancia");
nu = teclado.nextInt();
if (nu > 200000) {
if (nu > 800000) {
if (nu > 1400000) {
System.out.println("bono "+nu*0.1);
} else {
System.out.println("bono "+nu*0.07);
}
} else {
System.out.println("bono "+nu*0.05);
}
} else {
System.out.println("bono "+0);
}
break;
default:
System.out.println("gracias por usar nuestros servicios.");
break;
}
}
}