TOPIC
Wrong Answer (40%)
rreis22 asked 4 years ago
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int numberOfTest = input.nextInt();
for (int i = 0; i < numberOfTest; i++){
int valueOfPower = input.nextInt();
if (valueOfPower >= 100 && valueOfPower <= 100000)
if(valueOfPower <= 8000)
System.out.println("Inseto!");
else
System.out.println("Mais de 8000!");
};
input.close();
}
}
This topic has not been answered yet. Be the first!