Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Your final goal Part A. Using C++ produce a program that allows you to input a string and then echoes out that string. For example
Your final goal Part A. Using C++ produce a program that allows you to input a string and then echoes out that string. For example the program will prompt you for your name, enter your name, then output it. Part B. 1. Within this same program create an array of 20 buckets. 2. Insert into those buckets a sequence of numbers. You can hard code the insertion of these numbers inside your program. Use these numbers 20,34,102,4,6,99,43,23,29,78. 3. Output the array contents to the screen. 4. Using a loop of your choice traverse this array and add +1 to each of the numbers. 5. Output your result, it should look like 21,35,103,5,7,100,44,24,30,79 Sample output (this is taken from my program)
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