1. Create an array of integers and initialize/assign random values to each element.
  2. Allow the user to input an integer.
  3. If the user input is present inside the array elements, display/print its index number, if not display/print "VALUE NOT FOUND"

I appreciate if you would help thanks. I really don't know hwo to code yet and our prof is assigning us activities already pleas eocmment down bellow thank you

For the beginner, how much of a beginner are you?

Some have no computer skills, don't know what an integers, array or what random is. Those with some basics out of the way can go to tutorials such as https://www.tutorialspoint.com/cplusplus/index.htm and then as we say "Google is your friend."

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.