I am a beginner so please help me modify this if it can be modified | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I am a beginner so please help me modify this if it can be modified

https://code.sololearn.com/cTEu56wSpgVS/?ref=app

19th Aug 2018, 2:53 PM
PADDU
PADDU - avatar
4 Answers
+ 8
PADDU int does not use decimals. You need to use a different number type like double or float.
19th Aug 2018, 3:10 PM
Manual
Manual - avatar
+ 4
i took a look and it works fine, whats the issue?
19th Aug 2018, 2:56 PM
Robert Atkins
Robert Atkins - avatar
0
I even want to square decimal no.
19th Aug 2018, 2:57 PM
PADDU
PADDU - avatar
0
ok thanks
19th Aug 2018, 3:11 PM
PADDU
PADDU - avatar