Snail Mail Company : charges php 28.99 per telegram that does not exceed 12 words and php2.50 pesos for every succeeding word plus php5.00 service charge if type of delivery is special. Input Customers name and the number of words in a telegram and the type of delivery ('S' or 's' for special). The Program should output the computed telegram cost.
i dont understand how to code the 'Does Not Exceed 12 words and php2.50 pesos for every suceeding word'.
can some1 analayze this pls.