SOLUTION: Problem 2: The cost to send a telegram is $2.50 for the first 10 words or less and $.15 for each additional word. Write a program to calculate the cost of sending a telegram under

Algebra ->  Customizable Word Problem Solvers  -> Misc -> SOLUTION: Problem 2: The cost to send a telegram is $2.50 for the first 10 words or less and $.15 for each additional word. Write a program to calculate the cost of sending a telegram under       Log On

Ad: Over 600 Algebra Word Problems at edhelper.com


   



Question 747746: Problem 2: The cost to send a telegram is $2.50 for the first 10 words or less and $.15 for each additional word. Write a program to calculate the cost of sending a telegram under these conditions.
Input – number of words
Process – calculate the cost of the telegram under the above conditions.
Output – the cost of the telegram
Test:
Try your programs on the following:
7 words - $2.50
15 words - $3.25

Answer by lynnlo(4176) About Me  (Show Source):