The following program has some problems with input data. Rewrite the following program in such a way to validate the input data.
Run your program with the following inputs:
95
150
-66
77
B
45
$$
69
Submit screenshots with all the output runs
Please fix the following input errors: