H
H
Hacker20202020-11-10 00:30:09
C++ / C#
Hacker2020, 2020-11-10 00:30:09

Good evening! I ran into a problem, I need to solve the problem, but I don’t understand a little how to do it in C ++?

Here, the conditions of the problem - given an integer one-dimensional array, consisting
of 16 elements. Find paired elements of the array that are greater than the number A,
and their number. Enter the number A from the keyboard.
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2020-11-10
@vabka

1. You need to understand what is meant by the word "paired"
2. In a loop, we go through the array and count how many such elements, simultaneously displaying
PS: at least 3 are the same questions How to find paired array elements that are greater than the number A, and their number, number How about typing from the keyboard?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question