0
Where did I do mistake?
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
+ 3
What output were you expecting?
It seems to multiply your input by itself just fine.