False Position Method in C++ Programming