Thursday, October 14, 2010

Flowcharts...

DESCRIBING THE FLOWCHARTS:
It is talking about temperature.
        1. Start
        2. Read Temperature
        3. If it is less than 32 than print 'below freezing'
        4. If it is more than 32 than print 'above freezing'.
        5. After all that end.


It is talking about One Second Response to a Switch.
  1. Start
  2. Then check if the switch is on.
  3. If it is not on go back to start.
  4. If it is on then turn the LED on.
  5. Then start timer.
  6. Check if 1 second is expired.
  7. If it hasnt then go back to start timer.
  8. If it has then turn the LED off.
  9. After that reset the timer.
  10. After that is done end.




No comments:

Post a Comment