class Main {
public static void main
(String[] args
) { int x = 534;
switch (x / 200) {
case 0:
System.
out.
println("entre 0 e 199"); break;
case 1:
System.
out.
println("entre 200 e 399"); break;
case 2:
System.
out.
println("entre 400 e 599"); break;
default:
System.
out.
println("600 ou mais"); break;
}
}
}
//https://pt.stackoverflow.com/q/258024/101
Y2xhc3MgTWFpbiB7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykJewoJCWludCB4ID0gNTM0OwoJCXN3aXRjaCAoeCAvIDIwMCkgewoJCQljYXNlIDA6CgkJCQlTeXN0ZW0ub3V0LnByaW50bG4oImVudHJlIDAgZSAxOTkiKTsKCQkJCWJyZWFrOwoJCQljYXNlIDE6CgkJCQlTeXN0ZW0ub3V0LnByaW50bG4oImVudHJlIDIwMCBlIDM5OSIpOwoJCQkJYnJlYWs7CgkJCWNhc2UgMjoKCQkJCVN5c3RlbS5vdXQucHJpbnRsbigiZW50cmUgNDAwIGUgNTk5Iik7CgkJCQlicmVhazsKCQkJZGVmYXVsdDoKCQkJCVN5c3RlbS5vdXQucHJpbnRsbigiNjAwIG91IG1haXMiKTsKCQkJCWJyZWFrOwoJCX0KCX0KfQoKLy9odHRwczovL3B0LnN0YWNrb3ZlcmZsb3cuY29tL3EvMjU4MDI0LzEwMQ==