_______
/ \
| Start |
\_______/
|
v
____________ ____________
| Input: | | Input: |
| Current Temp| | Desired Temp|
|____________| |____________|
| |
v v
_____________
| Compare: |
| Current < |
| Desired? |
|_____________|
/ \
Yes No
/ \
v v
___________ ___________
| Turn ON | | Turn OFF |
| Heating | | Heating |
|__________| |__________|
\ /
\ /
v v
_______
/ \
| End |
\_______/
This flowchart starts by taking two inputs: the current room temperature and the desired temperature set by the user.
It then compares if the current temperature is less than the desired temperature.
If yes, the heating is turned ON to warm the room.
If no, the heating is turned OFF because the room is warm enough.
The flowchart ends after deciding the heating state.