Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro Android Graphics

Authors: Wallace Jackson

1st Edition

1430257857, 978-1430257851

More Books

Students also viewed these Programming questions