250 likes | 331 Views
DIAGRAM 1. DIAGRAM 2. DIAGRAM 3. DIAGRAM 4. 1. START. NUMBER?. YES. NO. Give me a number. NO. Number /2= ?. YES. YES. NO. Impair. NO. End. Pair. YES. End. 2. START. 5 numbers?. YES. NO. Give me 5 numbers. NO. Average(?-?). YES. YES. NO. Average(?-?). NO.
E N D
DIAGRAM 1 DIAGRAM 2 DIAGRAM 3 DIAGRAM 4
1 START
NUMBER? YES NO
Number /2= ? YES YES NO
Impair NO End
Pair YES End
2 START
5 numbers? YES NO
Average(?-?) YES YES NO
Average(?-?) NO
Example: (1-5) 3 YES END
3 START
Runs ? YES NO
Runs? NO
Runs-5 minutes Fast YES YES NO
Fast YES END
Slow NO END
4 START
Animals ? YES NO
Animals? NO
Animals _ 208 YES YES NO
Rebuild NO END
It s ok YES END