Professional Documents
Culture Documents
Task 1
Task 1
Declare fname[n],lname[n]:string
Declare vol:char
Declare vlunter[n]:Boolean
Declare choice:integer
Declare gate[n],sop[n],paint[n]:char
Declare doj[n]:string
Declare paid[n]:char
For x1 to n
Input fname[x]
Input lname[x}
Input vol
Voulnetr[x]=true
Output “chose 1 for pier entrance gate,Choose 2 for the gift shop and choose 3 for painting
and decoration”
Input choice
Input choice”
End while
Case choice of
1:gate[x]”y”
2:shop[x]”y”
3:paint”y”
End case
Output “enter date of joining”
Input doj[x]
Input paid[x]
Next