Can we print prime numbers in c# | Sololearn: Learn to code for FREE!

+2

Can we print prime numbers in c#

2/26/2021 12:42:50 PM

Swati Yadav

2 Answers

New Answer

+2

Yes, you can. but you need to take a limited range (let say between 0 and 10000): https://code.sololearn.com/cA6A2PrWvQoV/?ref=app

+2

Of course, C# is Turing complete. Please use proper tags (C#, prime numbers), css is not relevant