Professional Documents
Culture Documents
Task3 2
Task3 2
Task 3 – sponsoring a wooden plank Add an additional option to the program in Task 1 to enable the pier’s
wooden planks to be sponsored. Separate data structures should be used to store the names of the
individuals and the short messages they would like to have written on their brass plaque. An output would
display everything that was input for the sponsor to confirm. If errors are found, the program should allow
data to be re-entered. Once complete, the data is stored and the sponsor is charged $200
5 WPSponsor=200
10 ConstMFee=75
15 TodaysDate=17052022 //This is exam date or todays date to find out membership expiry when needed
20 MCounter=1
30 Repeat //Main Loop Body
40 Print"Enter First Name"
50 Input FirstName[MCounter]
60 Print"Enter Last Name"
70 Input LastName[MCounter]
110 Then
194 End If
195 Until DateOfJoining[Mcounter]<31122023 and DateOfJoining[Mcounter]>01012022
200 Print "have you paid the fee? $75"
210 Input IsMFeePaid[MCounter]