Ayuda con este código por favor. Para hallar el area de un circulo. No me acepta la Entrada y no sé qué quiere | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Ayuda con este código por favor. Para hallar el area de un circulo. No me acepta la Entrada y no sé qué quiere

Conseguí unos ejercicios de Java tipo: public static void main y el programa no me lo acepta... auxilio necesito ejercicios https://code.sololearn.com/ccr4gGzs3G7y/?ref=app https://code.sololearn.com/ccr4gGzs3G7y/?ref=app

28th Jul 2023, 2:19 AM
fabian
1 Answer
+ 4
fabian , The error in this code is with the "Entrada.real()" method, which is not defined. for read the input from the user use the "Scanner" class instead of Entrada.real() class. See this modified code.. https://code.sololearn.com/cM07g684ewkv/?ref=app
28th Jul 2023, 3:33 AM
Darpan kesharwani🇮🇳[Inactive📚]
Darpan kesharwani🇮🇳[Inactive📚] - avatar