Ingles
import java.util.Scanner;
public class EXAMEN {
public static void main(String[] args) {
Scanner scanner=new Scanner(System.in);
double acu = 0,mal = 0,res,prom;
System.out.println(" Elizabeth ");
System.out.println(" contraseña ");
int contraseña=scanner.nextInt();
while(contraseña==200)
{System.out.println("Vuelva ingresar la contraseña");
contraseña=scanner.nextInt();
System.out.println("I.-CHOOSE THE CORRECT TAG TO FINISH PASSIVE VOICE SENTENCES IN THE PAST");
System.out.println("The planet Uranus was discovered:");
System.out.println("1: Invented by a Scotsman");
System.out.println("2: By William Herrschel in 1781");
System.out.println("3:Invented by Guglielmo Marconi");
System.out.println("4: Was discovered by M Curie in 1902");
System.out.println("Ingrese respuesta ");
res=scanner.nextInt();
if(res==2)
{
System.out.println("Respuesta correcta");
acu=acu+1;
}
else
{
System.out.println("Respuesta incorrecta ");
mal=mal+1;
}
System.out.println("The Airbus A380:");
System.out.println("1: Invented by Guglielmo Marconi");
System.out.println("2: Into orbit by the Russians in 1957");
System.out.println("3: Was launched by the USA in 1990");
System.out.println("4: Was built by the Europeans");
System.out.println("Ingrese respuesta ");
res=scanner.nextInt();
if(res==3)
{System.out.println("Respuesta correcta");
acu=acu+1;
}
else
{
System.out.println("Respuesta incorrecta ");
mal=mal+1;
}
System.out.println("The Mona Lisa was:");
System.out.println("1: Painted by Leonardo Da Vinci ");
System.out.println("2: Developed by Sony or Philips?");
System.out.println("3: By the Lumiere brothers");
System.out.println("4:Invented by Guglielmo Marconi");
System.out.println("Ingrese respuesta");
res=scanner.nextInt();
if(res==1)
{
System.out.println("Respuesta correcta ");
acu=acu+1;
}
else
{
System.out.println("Respuesta incorrecta ");
mal=mal+1;
}
System.out.println("The first cinema was opened:");
System.out.println("1: By William Herrschel in1781 ");
System.out.println("2: Developed by Sony or Philips?");
System.out.println("3: By the Lumiere brothers ");
System.out.println("4: Invented by a Scotsman?");
System.out.println("Ingrese respuesta");
res=scanner.nextInt();
if(res==3)
{
System.out.println("Respuesta correcta ");
acu=acu+1;
}
else
{
System.out.println("Respuesta incorrecta ");mal=mal+1;
}
System.out.println("The chemical element radium: ");
System.out.println("1: Painted by Leonardo Da Vinci ");
System.out.println("2: Into orbit by the Russians in 1957");
System.out.println("3: By the Lumiere brothers");
System.out.println("4: Was discovered by M Curie in 1902");
System.out.println("Ingrese respuesta");res=scanner.nextInt();
if(res==4)
{
System.out.println("Respuesta correcta ");
acu=acu+1;
}
else
{
System.out.println("Respuesta incorrecta ");
mal=mal+1;
}
System.out.println("Do you kwow that the first tv was:");
System.out.println("1: Invented by a Scotsman? ");
System.out.println("2: Was built by the Europeans");
System.out.println("3: By the Lumierebrothers ");
System.out.println("4: Developed by Sony or Philips?");
System.out.println("Ingrese respuesta");
res=scanner.nextInt();
if(res==1)
{
System.out.println("Respuesta correcta ");
acu=acu+1;
}
else
{
System.out.println("Respuesta incorrecta ");
mal=mal+1;
}
System.out.println("The radio was:");
System.out.println("1: Into orbit by the Russians in...
Regístrate para leer el documento completo.