Answered step by step
Verified Expert Solution
Question
1 Approved Answer
MATLAB Phone service costs $20.00 and all calls over 100 cost $.01 each. There are 6 customers, write a code for inputting the number of
MATLAB
Phone service costs $20.00 and all calls over 100 cost $.01 each. There are 6 customers, write a code for inputting the number of calls for each person. For this question store the number of calls and the calculated bill amounts of each customer as an array. After all the customers have been input into arrays, print an output table like that shown below.
Customer # of Calls Bill
-----------------------------------------------
1 200 $21.00
2 99 $20.00
3 125 $20.25
4 150 $20.50
5 70 $20.00
6 102 $20.02
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started