a program that prompts the user to insert a positive integer number and send it to a function that will prints all the prime number from 0 to this number.
Hint: use nested for loops.

Well, what have you come up with so far? Please show some effort.

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.