Answer: so I ask my teacher and this is what he said
Explanation:
Answer:
Explanation:
El siguiente codigo esta escrito en Java. Le pide al usario que marque la edad. Despues el programa analiza la edad y imprime a la pantalla si el usario es mayor de edad o menor de edad. El programa fue probado y el output se puede ver en la imagen abajo.
import java.util.Scanner;
class Brainly
{
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Cual es tu edad?");
int age = in.nextInt();
if (age > 18) {
System.out.println("Mayor de Edad");
} else {
System.out.println("Menor de Edad");
}
}
}
The number of bits used to represent each pixel determines how many colors or shades of grey can be displayed. For example, in 8-bit color mode the color monitor uses 8 bits for each pixel, making it possible to display 2 to the 8th power (256) colors/shades of grey.