150 views
1. Create a C++ source code for the program output given below.

2. Submit in the LMS.

Note: Set the maximum size of the array to 100. You may input any 5 whole numbers.

Number[0]: -6

Number[1]: -4

Number[2]: 0

Number[3]: 9

Number[4]: 8

Values inside the array: -6 -4 0 9 8

Values in ascending order: -6 -4 0 8 9

Count of positive odd numbers: 1

Sum of odd numbers: 9

Largest positive number: 9

Functions to create:

1. main()

2. displayValues()

3. ascendingOrder()

4. countPosOdd()

5. sumOdd()

6.largestPositive()

Note: Determine if your functions

has parameters and what

parameters
by

Related questions

1 answer
301 views
asked Dec 29, 2020 by anonymous
0 answers
112 views

Free Online Question and Answer Website

Are you curious? Get answers to your questions online. Share and spread your know-how through the best question and answer English Website. Join the free question-answer site today. Ask thought-provoking questions and get the answers from the experts. Select and choose topics of your choice. Create or join your own community.

Ask your question with your name or go anonymous. Become street smarter and join hands with likeable people.
Ask us any question and get instant help. You can learn and know anything about this platform.

The best answers will get a vote-up. Don't wait and sign up now? Explore a wide range of different questions and answers. Active users and regular readers will get benefited and also help us grow.

For any little concern, we are here. Get a quick fix answer for all your questions. We are happy to share. Asklent is a platform for helping each other.