I need to write a program that displays 50 priome numbers . I need to use a stack to store prime numbers.This is what I hava so far I need some help Please. My while loop is weird

Post code that small in the thread, in code tags. And your code contains no while loops.

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.