Icon Crear Crear

Java Programming Syntax Fill in the Blanks

Completar frases

Test your knowledge of Java programming syntax by filling in the missing elements in Java code.

Descarga la versión para jugar en papel

2 veces realizada

Creada por

Filipinas

Top 10 resultados

  1. 1
    00:42
    tiempo
    100
    puntuacion
¿Quieres aparecer en el Top 10 de este juego? para identificarte.
Crea tu propio juego gratis desde nuestro creador de juegos
Compite contra tus amigos para ver quien consigue la mejor puntuación en esta actividad

Top juegos

  1. tiempo
    puntuacion
  1. tiempo
    puntuacion
tiempo
puntuacion
tiempo
puntuacion
 
game-icon

Completar frases

Java Programming Syntax Fill in the BlanksVersión en línea

Test your knowledge of Java programming syntax by filling in the missing elements in Java code.

por pinky tapel
1

System new println void System parseInt BufferedReader in readLine close class int println import

java . io . ;
import java . io . IOException ;
import java . io . InputStreamReader ;

public Main {
public static main ( String [ ] args ) {
BufferedReader reader = new BufferedReader ( InputStreamReader ( System . ) ) ;
try {
System . out . ( " Welcome to Java Programming ! You need to use the ENTER key to go to the nextline " ) ;
. out . println ( " This program will let you solve basic math operations such as addition , subtraction , multipilcation and division " ) ;
System . out . ( " Let's begin ! " ) ;

System . out . print ( " Enter First Number : " ) ;
fnum = Integer . parseInt ( reader . ( ) ) ;

System . out . print ( " Enter Second Number : " ) ;
int snum = Integer . ( reader . readLine ( ) ) ;

int sum = fnum + snum ;
int dif = fnum - snum ;
int prod = fnum * snum ;
float qou = fnum / snum ;

System . out . println ( " The sum of " + fnum + " and " + snum + " is " + sum ) ;
System . out . println ( " The difference of " + fnum + " and " + snum + " is " + dif ) ;
System . out . println ( " The product of " + fnum + " and " + snum + " is " + prod ) ;
. out . println ( " The qoutient of " + fnum + " and " + snum + " is " + qou ) ;
reader . ( ) ;

} catch ( IOException e ) {
System . out . println ( " An error occurred while reading input : " + e . getMessage ( ) ) ;
}
}
}

educaplay suscripción