Question: Write a C program to take Input of 5 numbers from the user and store it into an array named 'arr. 1) Write a switch

 Write a C program to take Input of 5 numbers from

Write a C program to take Input of 5 numbers from the user and store it into an array named 'arr. 1) Write a switch case to find out how many odd and even numbers are there in the array 'arr and print it with suitable messages. ii) Also, reverse the numbers in the array 'arr and store into another new array named 'arr2'. Finally display the new array'arr2'. (4+4-8 Marks

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!