Question 3 - Pseudo-code
- A club wants to go for a trip. To qualify, one has to have paid a membership fee of 500 and shown a record for being active member of the club.
- Write a pseudocode for the above problem (6mks)
Print "enter membership fee"
Read "membership fee"
Print "enter 'a' for active or 'i' for inactive"
Read s, i
IF membership fee = 500 THEN
Print "membership fee paid" ELSE
IF participation = a THEN
Print "you qualify for the trip" ELSE
Print "you don't qualify for the trip"