GUVI
Back

codekata absolute beginner 3rd question

Created 2 years ago
190 Views
1 Comments
DineshrajyZzxMC
@DineshrajyZzxMC
DineshrajyZzxMC
@DineshrajyZzxMCProfile is locked. Login

how could we fix the 2 decimal points in float number?

I tried searching in online websites like w3school etc., and did code as they mentioned in their syntax. but my testcases are failed because of compiler saying that the syntax is wrong for fixing decimal points.

can someone help me with this thing. i am attaching my code below.

without decimal points i did a alternate code but there is a little variation in decimal values compared to the expected output.

Comments
Please login to comment.
 
Powered by habitate.io Habitate