Create a program that ask the user to input 10 numbers using array, the program will identify the EVEN and ODD numbers and display. The program will also display the locations of the EVEN and ODD numbers on the array (20 Points). Sample Output: Enter 10 numbers: 1 2 3 4 5 6 7 10 (The numbers above is just sample, the user can input any numbers.) ODD 1-0 Location 3-2 Location 5-4 Location 7-6 Location 9-8 Location EVEN 2-1 Location 4-3 Location 6-5 Location 8-7 Location 10-9 Location 8 9

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter10: Pointers
Section10.2: Array Names As Pointers
Problem 4E: (Program) Write a declaration to store the following values in an array named rates: 12.9, 18.6,...
icon
Related questions
Question
100%

Hello can someone help in C + + language  thanks 

Create a program that ask the user to input 10 numbers using array, the program will identify the EVEN and ODD
numbers and display. The program will also display the locations of the EVEN and ODD numbers on the array (20
Points).
Sample Output:
Enter 10 numbers:
1
2
3
4
5
6
7
8
9
10
(The numbers above is just sample, the user can input any numbers.)
ODD
1-0 Location
3-2 Location
5-4 Location
7-6 Location
9-8 Location
EVEN
2-1 Location
4-3 Location
6-5 Location
8-7 Location
10-9 Location
Transcribed Image Text:Create a program that ask the user to input 10 numbers using array, the program will identify the EVEN and ODD numbers and display. The program will also display the locations of the EVEN and ODD numbers on the array (20 Points). Sample Output: Enter 10 numbers: 1 2 3 4 5 6 7 8 9 10 (The numbers above is just sample, the user can input any numbers.) ODD 1-0 Location 3-2 Location 5-4 Location 7-6 Location 9-8 Location EVEN 2-1 Location 4-3 Location 6-5 Location 8-7 Location 10-9 Location
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Array
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,