Designing, Creating & Refining Algorithms
1. A fast food restaurant offers half-price meals if the customer is a student or has a discount card.
The offer is not valid on Saturdays.
A computer system is used to identify whether the customer can have a half-price meal.
The table identifies the three inputs to the computer system:
Input | Value |
|---|---|
A | Is a student |
B | Has a discount card |
C | The current day is Saturday |
The restaurant needs an algorithm designing to help employees work out if a customer can have a half price meal or not. It should:
input required data
decide if the customer is entitled to a discount
output the result of the calculation.
Design the algorithm using a flowchart.
Ai এর মাধ্যমে
১০ লক্ষ+ প্রশ্ন ডাটাবেজ
প্র্যাকটিস এর মাধ্যমে নিজেকে তৈরি করে ফেলো
উত্তর দিবে তোমার বই থেকে ও তোমার মত করে।
সারা দেশের শিক্ষার্থীদের মধ্যে নিজের অবস্থান যাচাই
No related questions found