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
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