0
How can I write that if var c is a float then cout a specific code and else cout something else in c++?
I want to write a program that can give me a specific text when the variable c is a float and another text if the var c is not a float. How can I do this? Please help.
10 Respuestas
+ 1
Ok, but I want my program to type "e" if the var c is an int and type "e+1" if the var c is a float.
But thank you for answering!
+ 1
Thank you very much!!!
+ 1
Yeah. I think so. Wait a min
+ 1
DEEPAK since when abs() part of <algorithm>?