Sololearn: Learn to Code
+ 2
Replace your two %d by %f (because %d is for integers), and store the value of ceil(val) in val.
28th Jan 2019, 11:21 AM
Zen
Zen - avatar