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 technological changes at the turn of the twentieth century that affected American life include the rise of the internet and mobile devices. The internet signaled the opportunity for immediate access of information. Paired with mobile technology, Americans were able to communicate almost instantly.
D. staying connected with an old friend.
Answer:
Four types of errors program should test for user input are given in explanation
Explanation:
1. Program should test that extension contains exactly three letters
2. Program should test that extension doesn't contain any number or special character
3. Program should test that extension doesn't contain any white space
4. Program should test that extension doesn't contain any punctuation mark