7th Aug 2023, 12:48 PM
Sheetal
Sheetal - avatar
2 Respuestas
+ 4
M Charanmitha , Your code is correct and it gives the area of square, I guess you want to show the output in diff lines and the side value also to be printed to make the console screen neat... Try like this, https://code.sololearn.com/cg2nxB7yXiMa/?ref=app
7th Aug 2023, 1:23 PM
Riya
Riya - avatar
+ 3
What output were you expecting? It seems to multiply your input by itself just fine.
7th Aug 2023, 12:52 PM
Marcos Chamosa Rodríguez
Marcos Chamosa Rodríguez - avatar