Question
Output Example: C:Windowstsystem32cmd.Exe Please Enter 8 Numbers Please Type In # For Index 0 : 2 Please Type In # For Index 1 : 0
Output Example: C:Windowstsystem32cmd.Exe Please Enter 8 Numbers Please Type In # For Index 0 : 2 Please Type In # For Index 1 : 0 Please Type In # For Index 2 : 0 Lease Type In For Inde Please Type In # For Index 4 : 6 Please Type In # For Index 5 : 4 Please Type In # For Index 6 : 5 Lease Type 1n # For Index : 5 Please Enter An Index (0 7) For The Number
1. A flowchart of your program. (4 pts)
2. Copy of your C++ program with a heading comment (with proper spacing and indentation). You must use an array. This is array using assignment. If you do not use an array, you will not receive ANY credit. (4 pts)
3. Copy of three screenshots . Use your 8 student ID as 8 numbers to be entered at Section 1. Screenshot 1: The requested number is in the list only once. Screenshot 2: The requested number is stored in multiple locations. Screenshot 3: The requested number is not found in the list.
Student ID for this assignment: 20446657 Purpose of the program : Storing and accessing numbers in an array.
Section 1 : Enter 8 numbers in an array.
Section 2 : Access a number that is stored in a user specified index.
Section 3 : Show index/indices where user specified number is stored.
Section 4 : If the number is not in the array, show not in the list message. */ #include using namespace std; int main() { // Write your code here. return 0; } // main
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