🎯 Student Task
Design an algorithm and then write a Python program that helps a child decide what ice cream to buy, where to buy it, and what to do if they do not have enough money.
Your program must ask questions, make decisions, and give suggestions.
🪜 Detailed Algorithm (What Your Program Must Do)
🔹 Part 1: Start & Shop Choice
Start the program
Display a fun welcome message for the Fundo Ice Cream Adventure
Ask the user:
“Did you find a popular ice cream shop?”
🔹 Part 2: Ice Cream Decision
If the answer is NO:
Tell the user to search for another ice cream shop
End the program
If the answer is YES:
Ask:
“Do you want Fundo Ice Cream?”
🔹 Part 3: Flavor Selection
If the user says NO:
Suggest visiting another shop
End the program
If the user says YES:
Show available flavors:
Chocolate 🍫
Vanilla 🍦
Strawberry 🍓
Mango 🥭
Ask the user to choose one flavor
🔹 Part 4: Cost of Ice Cream
Tell the user the price of each flavor:
Chocolate – ₦1500
Vanilla – ₦1200
Strawberry – ₦1300
Mango – ₦1000
Ask the user:
“How much money do you have?”
🔹 Part 5: Money Decision
Compare the user’s money with the cost of the chosen flavor
If the user has enough money:
Ask:
“Do you want to eat in or take out?”
Show a happy message saying they can enjoy their ice cream
If the user does NOT have enough money:
Suggest cheaper options:
Lollipop – ₦300 🍭
Ice pop – ₦500 ❄️
Ask the user to choose one cheaper option
🔹 Part 6: Ending
Show a message about the item the user bought
Thank the user for playing the Fundo Ice Cream Adventure
End the program
