Following is a problem statement. Which of the below provides the correct IPO for the problem statement? The cellular company charges 50 cents per minute for the first three minutes of a call, regardless the length of the call, for every minute after the first three minutes an additional 15 cents is added to the cost, VAT of 14% is added to the total cost of the call. Write a program that allows the user to enter the duration of a phone call in minutes. Calculate
Following is a problem statement. Which of the below provides the correct IPO for the problem statement?
The cellular company charges 50 cents per minute for the first three minutes of a call, regardless the length of the call, for every minute after the first three minutes an additional 15 cents is added to the cost, VAT of 14% is added to the total cost of the call. Write a
Input |
Processing |
Output |
timeMinutes |
Enter input Calculate basicAmt, vat, finalAmt Display output values |
finalAmt |
Input |
Processing |
Output |
24 |
Enter input Calculate basicAmt, vat, finalAmt Display output values |
finalAmt |
Input |
Processing |
Output |
24 |
Enter input Calculate basicAmt, vat, finalAmt |
finalAmt |
Input |
Processing |
Output |
timeMinutes |
Prompt for input Enter input Calculate basicAmt, vat, finalAmt Display output values |
finalAmt |
Step by step
Solved in 3 steps