Computer Science, asked by freefirepullingossvn, 15 hours ago

function f(integer k) k=k+2 return k end function k = f(2) print(k) k = f(3) print(t)​

Answers

Answered by kumari88095
0

enqueue(x) : Add an item x to rear of queue

dequeue() : Remove an item from front of queue

size() : Returns number of elements in queue.

front() : Finds front item.

Examples:

Input : Q = [10, 20, 30, 40, 50, 60,

70, 80, 90, 100]

k = 5

Output : Q = [50, 40, 30, 20, 10, 60,

70, 80, 90, 100]

Input : Q = [10, 20, 30, 40, 50, 60,

70, 80, 90, 100]

k = 4

Output : Q = [40, 30, 20, 10, 50, 60,

70, 80, 90, 100]

Similar questions