Answer:
Explanation:
We could get the four options for this particular example, but we must know what happens with the variable number the value 1000.
In this case, we are going to assume four scenarios:
1) n = n - n this is equal to 0
2) n = (n - n) + n = 1000
3) n = n * 2 = 2000
4) n = n * 3 = 3000
These are simple examples, we could get these options in different ways.
Import java.util.Scanner;
class hola
{
public static void main(String[]args)
{
Scanner x=new Scanner(System.in);
int a=x.nextInt();
int b;
if(a>20&&a<100)
{
b=a%12;
if(b%2==0){
System.out.print("es par"+b);
}
else{
System.out.print("es impar"+b);
}
}
}
}
Answer:
Here u go... hope it helps u.... have a great day ahead
What the hell is the point of this, just to waist people's time?