ATmega8 microcontroller has 23 programmable input/output (I/O) pins which can be used for interfacing with external world. It is possible to configure them as input or output by setting a particular ...
Many programs take input from a user and then validate it before it is processed. It is important that the messages to the user are appropriate to reduce the risk of invalid data being entered.
Most programs require data from the user. This is processed and the outcome is outputted or moved to secondary storage. In some languages the input and output is combined to form a single statement.