Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Central Bank has many customers and stores the customers' amount. The following operations are carried out by the bank using a single-dimensional array. Member variables:
Central Bank has many customers and stores the customers' amount. The following operations are carried out by the bank using a single-dimensional array. Member variables: amount ), oddvalues and evenvalues a) Read the amount deposited by the customers that are given below. 1000 4505 3000 6500 5505 8000 9505 2000 1507 2500 (2 Marks) b) Find and display the odd values and even values of the customer amount separately. (Marks) Example output: Odd values: Odd values: 4505 5505 9505 1507 Example output: Even values Even values: 1000 3000 6500 8000 2000 2500
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started