0
What is the used of include <cmath> and <iomanip>
2 Answers
+ 13
The cmath header file in C++ is used to allow the user to perform some math related functions like sqrt(), pow(), cos (), abs () and many more.
iomanip is used for formatting stuffs which includes functions like setw(), setprecision(), etc.
+ 3
cmath include (you guess it) math function
Iomanip include some easy to use function for formatting, like width and stuff