Noob facing trouble with a simple program

0 Rafidul Islam · February 28, 2015
http://pastebin.com/kZ231ud5

That's the code I wrote for the answer to this question from a book. Here's the question : http://i.imgur.com/h5PrvLE.png

For some reason, the final tax does not seem to include the added percentage of the income. 

http://i.imgur.com/dFBF8mR.png 

There, even if the income I enter is more than 7000, it does not add the 6% of the income and stays only till $ 230. 

P.S Still new to programming.

Post a Reply

Replies

Oldest  Newest  Rating
0 Rafidul Islam · February 28, 2015
I can't believe I overlooked this. Shoot, I'm dumb.

Thanks.
  • 1

C

106,964 followers
About

One of the most popular languages of all time.

Links
Moderators
Bucky Roberts Administrator