Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use C++ and Visual Studio Write a program in a cpp file called Array Alpha_LastNameFistName.cpp that declares an array alpha of 50 components of type
Use C++ and Visual Studio
Write a program in a cpp file called Array Alpha_LastNameFistName.cpp that declares an array alpha of 50 components of type double Create a function called InitializeArray() that initialize the array so that the first 25 components are equal to the square of the index variable, and the last 25 components are equal to three times the index variable. Next create a function called QutputArray() that output the array so that 10 elements per line are printed.- Once you output the array, ask the user for a number and a letter. Create a function called FindMult(), that used the number to find all the multiple in the array that was print above and beside each of the multiple of the number print the letter. With a tab between each value Run 1: . 916 25 36496481 100 121 144 169 196 225 256 289 324 361 400 441 484 529 576 75 78 81 8487 4 120 123 126 129 132 135 138 141 144 147 Please enter a number:5 Please enter a letter:f Please place f by each multiple of 5 25f 225f 25F 105f 135f 49 100F 400F 90f 120F 121 144 169 196 576 102 132 256 78 108 138 289 324 361 441 484 529 114 112 123 126 129 141 144 147 Run2: 9 16 25 36 496481 100 121 144 169 196 225 256 289 324 361 400 441 484 529 576 75 7881 84 87 0 4 120 123 126 129 132 135 138 141 144 14? Please enter a number:8 Please enter a letter:X Please place x by each multiple of 8 4 144x 484 16x 196 576x 102 132 64x 256x 78 108 138 100 121 169 225 289 324 361 400x 441 529 87 96x 105 114 120x 123 126 129 135 141 144x 147Step 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