document.write( "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.\r
\n" );
document.write( "\n" );
document.write( "Input – number of words
\n" );
document.write( "Process – calculate the cost of the telegram under the above conditions.
\n" );
document.write( "Output – the cost of the telegram\r
\n" );
document.write( "\n" );
document.write( "Test:
\n" );
document.write( "Try your programs on the following:
\n" );
document.write( "7 words - $2.50
\n" );
document.write( "15 words - $3.25 \n" );
document.write( "
Algebra.Com's Answer #455195 by lynnlo(4176)![]() ![]() ![]() You can put this solution on YOUR website! \n" ); document.write( " |