Question 33
Consider the pseudocode given below where intA is a positive integer and listL is a non-empty list of positive integers.
Consider the pseudocode given below where intA is a positive integer and listL is a non-empty list of positive integers. Based on the above data, answer the given subquestions.
What will the value of X represent at the end of the execution?
The highest number among all the elements of listL
The smallest number among all the elements of listL
The highest number among intA and all the elements of listL
The smallest number among intA and all the elements of listL