Switch to English?
Yes
Переключитись на українську?
Так
Переключиться на русскую?
Да
Przełączyć się na polską?
Tak
Task: Develop a program that reads a sequence of N integers (1 < N < 256) from the keyboard, each of which is unique, stores them in a data structure queue (based on a linked list), and displays the following characteristics on the screen:

- number of elements;

- average of the stored elements;

- minimum and maximum element;

- the fourth element of the sequence;

- the element that comes before the minimum element.

It is important to note that all characteristics need to be determined from the filled data structure. Only operations inherent to the specified structure are allowed, for example, accessing an element at any position in the queue is prohibited.

Using ready-made implementations of data structures (e.g., STL) is prohibited.
Work details
Added 6 June 2024
146 views
Freelancer
Viktoriia Roslav
Ukraine Kharkiv
No reviews

Available for hire Available for hire
On the service 2 years