Icon New game New game

Programa Login Java

Fill in the Blanks

(13)
Este programa permite evaluar si el usuario y la contraseña son los correctos.

Download the paper version to play

Recommended age: 17 years old
57 times made

Created by

Guatemala

Top 10 results

  1. 1
    Wendy González 5SB
    Wendy González 5SB
    00:39
    time
    100
    score
  2. 2
    Diana López 5SB
    Diana López 5SB
    01:01
    time
    100
    score
  3. 3
    Avniel Cruz 5B
    Avniel Cruz 5B
    01:03
    time
    100
    score
  4. 4
    Kimberly López 5TOSB
    Kimberly López 5TOSB
    01:07
    time
    100
    score
  5. 5
    Dennis Cruz 5B
    Dennis Cruz 5B
    01:20
    time
    100
    score
  6. 6
    01:21
    time
    100
    score
  7. 7
    John Ortiz 5B
    John Ortiz 5B
    01:31
    time
    100
    score
  8. 8
    Daniel jimenez 5B
    Daniel jimenez 5B
    01:36
    time
    100
    score
  9. 9
    Daniel Orozco 5A
    Daniel Orozco 5A
    01:39
    time
    100
    score
  10. 10
    Gabriela Morales 5B
    Gabriela Morales 5B
    01:41
    time
    100
    score
Do you want to stay in the Top 10 of this game? to identify yourself.
Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

  1. time
    score
  1. time
    score
time
score
time
score
 
game-icon

Fill in the Blanks

Programa Login JavaOnline version

Este programa permite evaluar si el usuario y la contraseña son los correctos.

by Isaías A. Cuá Dubón
1

java . util . Scanner ;
class Login {

public main ( String [ ] args ) {
/ / Declaramos el objeto Scanner
Scanner = new Scanner ( System . in ) ;
/ / Declaramos nuestras variables de uso
Usuario ;
Password ;
U = " Admin " ;
P = " Abc123 " ;
/ / Solicitamos los datos a comparar
System . out . println ( " Ingrese su usuario " ) ;
= lectura . next ( ) ;
System . out . println ( " Ingrese su contraseña " ) ;
Password = lectura . next ( ) ;
/ / Comparamos el usuario y la contraseña
( Usuario . equals ( U ) && Password . equals ( P ) ) {
/ / Si Password y el usuario coinciden
System . out . ( " Bienvenido al sistema " + " " + Usuario ) ;
}
{
/ / Si Password y el usuario NO coinciden
. out . println ( " Usuario o contraseña inválido " ) ;
}

}
}