I've written the following code to test a copy constructor to exit a program if there is no input but the program always runs. If there is no input in the brackets then it simply runs with 0.00.

...