How to program an input and outputs

i need assistance on how to program inputs and outputs on to an ABB arm robot.

First, you need to define your signals in the Configuration Editor (I/O Domain), then (after a restart of the controller) you can use them from RAPID using e.g. SetDO, WaitDI. Check man RAPID instrucion manual and the system parameter manual. Both are available in RobotStudio.