Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management Systems Designing And Building Business Applications

Authors: Gerald V. Post

1st Edition

0072898933, 978-0072898934

More Books

Students also viewed these Databases questions

Question

What are Measures in OLAP Cubes?

Answered: 1 week ago

Question

How do OLAP Databases provide for Drilling Down into data?

Answered: 1 week ago

Question

How are OLAP Cubes different from Production Relational Databases?

Answered: 1 week ago