Question: write the followinmg in c++ Lab 2.2.1 Construct a program that uses a single dimension array called names to store the names: bill, milo, and

write the followinmg in c++

Lab 2.2.1

Construct a program that uses a single dimension array called names to store the names: bill, milo, and opus.

Create an output statement the prints out the name "opus" from the array.

Create an output statement that prints out all the names in the array

Construct another single dimension array called numbers that stores the values: 12, 30, 100, 103.5

Create an output statement that prints out all the elements in the array

Lab 2.2.2

Construct a program that will ask the use to input the names of four (4) people. The four names will be stored in an array called names.

The program will then print out the names of the first 2 people only.

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!