Programming issues. Writing a tax calculator: part 2.
After playing around with the tax calculator I managed to write the zero or negative number control inside the method as I wanted before. It may seem too easy for expert programmers but for me was a bit tricky. First I used the while loop keyword and saw the printf line printing itself on the screen inside an infinite loop! Then I woke up and used the if/else statements. The next problem was stopping the program from printing the lines that were at the main() function. The print method call, was More