Question: Lab 7.2 Write a C++ program that takes 20 integer inputs from user and store them in an array. Then: - Print all the numbers

 Lab 7.2 Write a C++ program that takes 20 integer inputs

Lab 7.2 Write a C++ program that takes 20 integer inputs from user and store them in an array. Then: - Print all the numbers on screen. - Find the sum and product of all elements of an array - Ask the user to give you a number. Now, tell user whether that number is present in array or not. - Number of odd numbers. - Number of even numbers

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!