A program is to simulate the operation of a particular type of logic gate.
• The gate has two inputs (TRUE or FALSE) which are entered by the user.
• The program will display the output (TRUE or FALSE) from the gate.
The program uses the following identifiers in the pseudocode below:
IDENTIFIER DATA TYPE DESCRIPTION
Ina BOOLEAN INPUT SIGNAL
Inb BOOLEAN INPUT SIGNAL
Outz BOOLEAN OUTPUT SIGNAL


[4]
The selection statement (lines 04 – 09) could have been written with more simplified logic.
Rewrite this section of the algorithm in pseudocode. [3]