Program | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2


How do we write a simple program using ceil, floor, abs,pow and sqrt operators.

10th Feb 2019, 2:06 AM
Shubhra Jyotsna
Shubhra Jyotsna - avatar
2 Answers
+ 1
but how will we include them all in a single program??
10th Feb 2019, 11:04 AM
Shubhra Jyotsna
Shubhra Jyotsna - avatar
+ 3
Well, to use this mathematical functions, first you need to include them in your code. This functions are defined in <cmath.h> or <math.h> library. Include them using #include and then you will be able to use them Quick Guide about those functions
10th Feb 2019, 2:44 AM
Raj Chhatrala
Raj Chhatrala - avatar