Answer:
Explanation:
The algorithm can be described as follows
The first process is to ensure that the constraints for the time at which the offers begin is well defined.
TIME1 = 14:00
TIME2 = 16:00
TIME3 = 18:00
Then, decide the final number of meal following the free meal that has been offered.
NUMBER_OF_MEALS=4;
Then; decide the prices attached to the meal at regular times.
PRICE = 200;
At regular mode, decide the prices attached to the meal and as well as when the offer time commences.
PRICE_OFFER = 160;
Then ask the client(i.e the user) to put in the value required for the number of meals they desire to order.
Input values in n
Suppose (the value exceeds 8)
Then proceed to enquire from the client if they wish to go for the offer.
If not, use the regular price for the order.
Assume the client asks if the offer is a good one to bid for.
You are to show then the analysis of the calculation.
regular = 8 × PRICE
offer = 8 × PRICE_OFFER
profit = regular - offer
Finally, show the profit to the client which will let them know if it is good to bid for it or not.
1. Cyberbullying
2.Confide in an adult you trust, such as a teacher or a parent
3.It is easy to miscommunicate and escalate the situation in an online environment
Cyberbully hurts people, so NEVER post something that could hurt someone's feelings
Hope this helps!
Answer:
The five factors to consider when trying to choose between a Solid State Drive, a Hard Disk Drive and, an External Hard Disk Drive are:
- Read/Write Speed
- Weight
- Power Consumption
- Cost
- Storage Capacity
- Solid State Drives (SSDs) are typically lighter in weight, faster and do not consume much power.
- Hard Disk Drives are relatively cheaper than SSDs. They also come with higher storage capacities but are more power-hungry and slower because they rely on mechanical/moving parts to read and write data.
- External HDDs are the cheapest of the three. They are not internal which is a major drawback given the additional weight. However, they come with gargantuan storage capacities that make you want to rethink having one. Besides, unlike SSDs, you can easily get them in computer accessories shops offline or online.
Cheers!