read in the number of hours from the user using cin.
if the number is <= 3, then charge is 2
else if the (number of hours - 3) * .50 + 2 > 10, it is $10
else the answer is (number of hours - 3) * .50 + 2
use the cout formatting w/ ios:: crap to tabulate it
infamous
Junior Poster in Training
77 posts since Mar 2004
Reputation Points: 47
Solved Threads: 2