Question: D Question 1 1 pt : Below is a function written in pseudocode: create a new queue called myQueue enqueue 1 onto myQueue enqueue 2
D Question 1 1 pt : Below is a function written in pseudocode: create a new queue called myQueue enqueue 1 onto myQueue enqueue 2 onto myQueue enqueue 3 onto my Queue enqueue 4 onto myQueue enqueue 5 onto myQueue create a variable sum and set it to o create a variable q and set it to while(sum is less than 10) set a to next value from myQueue (dequeue) set sum to sum + 9 3 What is sum equal to when the while loop exits
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
