How to make a method in C# that make a list of all the primes under an int | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to make a method in C# that make a list of all the primes under an int

This is my question Can you help writing this code??!

13th Sep 2022, 11:28 PM
TheMasterBee
TheMasterBee - avatar
2 Answers
0
Hello TheMasterBee, Can you please put C# (the relevant programming language) in post tags for context clarity? https://code.sololearn.com/W3uiji9X28C1/?ref=app I'm not understanding what you meant by "under an int" there. Can you add clarification about it in post Description? I hope with that extra info people can better understand, and therefore can suggest you accordingly 👍
14th Sep 2022, 4:33 AM
Ipang
0
To reduce energy waste, import a prime list is the most convenient and easy method.
14th Sep 2022, 9:16 AM
abpatrick catkilltsoi
abpatrick catkilltsoi - avatar