I can't even test whether num is prime! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I can't even test whether num is prime!

I would so much like to learn c++, but it seems to be that everything I try seems to not be understood by my(superior)self.

14th May 2017, 8:17 PM
Superior
Superior - avatar
2 Answers
+ 3
https://code.sololearn.com/cytaG2cjBTO3/?ref=app take a look at my prime tester. What had helped me the most, besides practice, is looking at other people's code. Seriously, it helps a ton. Happy Coding!
15th May 2017, 10:10 PM
Zeke Williams
Zeke Williams - avatar
0
Couple of tips: 1. Start really easy and try to make it harder gradually 2. Get your help troops out there. Search on Google or StackOverflow, because there are many things out there to help you out. 3. Don't give up!
14th May 2017, 8:39 PM
Maart
Maart - avatar