Newbie having trouble

Hi I’m new to this software and have the rabbit 2000. I have a couple of questions that I’m trying to find out.

  1. What code needs to be used control LED DS6 through the switch IN7 and make the code monitor the switch IN7 continuosly

  2. next is similar but control LED DS5 and turn off LED’s DS4, 6 and 7 while monitoring IN7 continously

  3. Use code to monitor the switches IN6 and 7 continuosly and when both switches are on, LED DS5 is switched on; otherwise LED DS5 is switched off.

having exactly the same problem can anybody help ???

anyone???