C++ Problem I need help please. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

C++ Problem I need help please.

Consider an integer array [10, 12, 15, 20, 30, 25, 40, 32, 31, 35, 17, 7, 22, 60, 19], the number of elements in which is determined by you in the program. Write a program to find those pair of elements that has the maximum and minimum difference among all element pairs and use two different functions for finding the maximum and minimum difference.

20th Nov 2021, 3:29 PM
Brhams Abraham
3 Answers
+ 8
Bwam , you have joined sololearn just 2 hours ago, and have finished 0% of the c++ tutorial. so your post seems to be not in relationships with some sololearn stuff. before we can help you, you should show us your attempt first. if you have not done a try by yourself upto now, please do so. Put your code in playground and link it here. Thanks!
20th Nov 2021, 3:38 PM
Lothar
Lothar - avatar
0
Ok
20th Nov 2021, 4:51 PM
Brhams Abraham
0
Bonjou tout moun
20th Nov 2021, 4:51 PM
Brhams Abraham