Question: 1) Ask the user for two integer values and prints It's a small number. if the product is less than 40. 2) The local cell


1) Ask the user for two integer values and prints "It's a small number." if the product is less than 40. 2) The local cell phone company charges $10 for the first 50 text messages and then $.10 for each additional message over 50. Write a program to input a number of texts, calculate the cost for the month, and then print a statement to match the output given in the example shells. To calculate the totalCharge for texts more than 50: totalCharge = .1 * (numberOfTexts - 50) + 10 To calculate the totalCharge for texts less than or equal to 50: totalCharge = 10 Example print statement: Your total charge for 65 texts is $11.50. 3) Ask the user to enter 3 test scores. Calculate the average and based on the average, print out what their current grade would be. Do not use any compound inequalities in this program. 90 s averages 100 B 80 s average
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
