Write a program to find and print how many times the number 8 occurs in an array A. The
array A should take as input as many values as the user wishes to enter.

I tried this program......but still i didnt fix the problem. i wants to know the program logic.

First write down in words and in small simple steps, what you think the program should do. Then you can replace those steps with actual code.

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.