I/o line interface to switches and LED's

Hi all

There are total 6 i/o lines available on controller,
5 switches and 5 LED's are to be interfaced by using this 6 I/O's.No other external IC are to be used,only resistors and similar parts can be used.

any suggestion to achieve this will be appreciated.

rgds
Naresh

More questions in this forum