Question
Please help me with this question :( !! the language you need to use is ( logic language or logarithm ) and I study (
Please help me with this question :( !! the language you need to use is ( logic language or logarithm ) and I study ( programming logic and design)
I need pseudocode and flowchart for this question.
The following 5 cell phone customers are ready to receive their monthly bill. The following are the customers and their cell phone minutes used and all their messages for a month.
Customer | Cell Minutes | Messages Sent | Total Cell Bill |
Jonathon | 75 | 50 | |
Mary | 110 | 75 | |
Amir | 25 | 25 | |
Zoe | 200 | 100 | |
Amarra | 100 | 100 | |
You task is to create the logic to loop through all the customers and produce a total cell phone amount for each customer. The amounts of charge are listed below:
Cell Minutes | Amount | Messages | Amount |
>= 100 | 0.10 | <= 100 | 0.10 |
< 100 | 0.15 | < 100 | 0.10 |
>= 100 | 0.15 | > 100 | 0.05 |
Remember that when putting together the logic, both the Cell Minutes and Messages must be true. For example, if someone has 85 cell minutes and 185 messages, the charge for the minutes would be 0.15 for each minute and 0.05 for each message because the third condition is true.
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