Input a list of positive numbers, terminated by 0, into an array Numbers. Then display the array and the largest and smallest number in it.

It's pseudocode. It doesn't need to be perfect, it just needs to express your logic accurately. Oh, and do your own damn homework.

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.