hi folks.
i ve got a lab questions stating: write pseudocode for a program which allows the user to input two numbers (x and Y0 and a code c . if the code has value 1, the program should ouput the larger of X and y and otherwise the smaller.
My version of pseudo code is ;
step:
1- get the value of A and B
2- get the value of C
3- if (value of code= 1)
do
compare if x>y
print x
else print y
end.
plz correct any errors within this pseudo code.