Please, how do we round by excess in c ++? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 2

Please, how do we round by excess in c ++?

For exemple: Input: 66,25 Output: 67

19th Aug 2020, 6:06 PM
Arnaud Aploon
Arnaud Aploon - avatar
3 Antworten
+ 1
ceil(x) works.. Check include cmath header
19th Aug 2020, 6:19 PM
Jayakrishna 🇮🇳
+ 2
Jayakrishna🇮🇳 thank u ceil(x) work
19th Aug 2020, 11:02 PM
Arnaud Aploon
Arnaud Aploon - avatar
0
20th Aug 2020, 5:50 AM
hayao