The cost, not including tax, of sending a telegram from Salmo to :
Toronto is $4.00
Calgary is $2.00
Winnepeg is $3.00
Ottawa is $5.00
for the first 15 words or less plus $0.11 for each additional word over 15. Write a program that allows the user to input the number of words inthe telegram and its desination, and the computer calculates its cost and appropriate tax (at 14.5%). This program ends when the user answers the question 'Do you want to calculate the cost of another telegram?' with, "no".
The total cost of sending a 16 word telegram from Salmo to Calgary would be $2.42. This is made up of an initial cost of $2.00, $0.11 for the extra word, and the provincial and federal tax of $0.31.
Do you want to calculate the cost of another telegram?