How to implement a flag control in my loop?
My code works fine. It does the calculations and prints out the results. However with a bit of extras.
So basically how do i implement a flag-control in this loop. Such that the program does calculations until it reachs a '.' (period)