Upload
irina
View
59
Download
0
Embed Size (px)
DESCRIPTION
How to fly like a bird. GROUP 24 電機 四 蘇培豪 電機 四 王律文. like a bird. Keep a light weight, you can fly like a bird!. Interesting problem. - PowerPoint PPT Presentation
Citation preview
HOW TO FLY LIKE A BIRD
GROUP 24 電機四 蘇培豪電機四 王律文
like a bird
Keep a light weight, you can fly like a bird!
Interesting problem
Nowadays we live in busy days. We are filled with overloading works, home works, etc. Therefore obese often comes to us. What we want to solve is the problem of fatness and diet.
Theme
We call it “ Think Food. ” It’s a program that can help you choose what to
eat for breakfast, lunch, dinner or snack in consideration of your own health.
idea
Calorie counter in the Internet
idea
CALORIE!!!
idea
CHOOSE WHAT TO EAT!!!
Design
As a great proverb goes, ”eat good in breakfast, eat full in lunch, and eat little in dinner.”
Calorie sort: lunch > breakfast > dinner > snack (we wish) snack > dinner > lunch > (breakfast) (IN FACT)
That’s our basic concept
Design
Database: food, ingredient, calorie. User: 1. Decide how many calories a day to take in. 2. Choose which kind of food you like. Program: 1. food credit limit 2. Randomly come up with proper food.
Tool
C Plus Plus
Design
Example: (unit: kcal/g) calorie credit =2500/per day <Breakfast> (We choose “western”) Breakfast database:
credit = 2500 -300 =2200
300 400
Design
<Lunch> (We first choose the type of food) (choose “noodle”) Lunch Database:
credit = 2200 -1100 =1100
600 1100 700
Credit remain = 2200
Design
<Dinner> (choose “fast food”) Dinner Database:
credit = 1100 -1200 < 0credit = 1100 -1300 < 0credit = 1100 -1400 < 0
No more credit for fast food
1200 1300 1400
Credit remain = 1100
12001200
Design
<Dinner> (choose “rice”) Dinner Database:
700 500 200
credit = 1100 -500 --> you save 600 calories
Credit remain = 1100
Furthermore
Not only for those who want to go on a diet.
But also can implement to many applications…
Trade-off of happiness and healthiness
Thank You!