Write a program which asks the user to insert data to a queue with the size of 25 and the program returns:
‘O’ if the number of elements in the queue is odd,
‘E’ if the number of elements in the queue is even,
‘U’ if the queue is empty, and
‘F’ if the queue is full.
Consider the queue with a circular array implementation.

sadece function lazım.bi türlü yapamadım.yardımlarınızı beklerim.

 

queue size ı saydırman lazım önce
size= 2n-1 ise return O
=2n ise E
=0 ise U
=25 ise return F
n 1 dan 12e kadar olan herhangi bir sayı

niye ama
1

mobil görünümden çık