Can u identify the error? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

Can u identify the error?

This is Java code related to data input. But I am not getting the input dialog box. https://code.sololearn.com/cVMSJkKzCt97/?ref=app

15th May 2019, 10:42 AM
pooja ranjan
pooja ranjan - avatar
1 Respuesta
+ 1
import java.io.*; InputStreamReader r = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(r); x = Integer.parseInt(br.ReadLine): use the above code it would work!
15th May 2019, 11:03 AM
Cracker
Cracker - avatar