Maximum and minimum value

How can i get the maximum and minimum value of float ( like INT_MIN gives minimum value of int )?

hi @discobot,
cout<<FLT_MAX<<" "<<FLT_MIN<<endl;

Hi! To find out what I can do, say @discobot display help.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

Which header file i have to use for FLT_MAX

@discobot #include <cfloat>

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.