0
How to write a code in c++ to check whether the numbers are rational or irrational.
solve please
2 Antworten
+ 1
Any number in C++ is rational.
bool is_rational(double x) { return true; }
- 2
We won't write codes for you but feel free to ask for help when writing it yourself