Write c++ program that reads 10 elements and store them in array , then do the follwing:
1- find the average using function avgfun()
2- find the maximum using function maxfun()
3- sort the array in decending order using function sort()
4- search for an entered number x in the array and print its index if it is found, or not found , using function searchfun()
السؤال
Anwar Shweiki
Write c++ program that reads 10 elements and store them in array , then do the follwing:
1- find the average using function avgfun()
2- find the maximum using function maxfun()
3- sort the array in decending order using function sort()
4- search for an entered number x in the array and print its index if it is found, or not found , using function searchfun()
1 جواب على هذا السؤال
Recommended Posts
انضم إلى النقاش
يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.