u/pdone_dot_app
pdone_dot_app
pdone_dot_app
Even without the screenshot, one thing already stands out: for input 10, the correct answer should be 4, not 5 (2, 3, 5, 7). For 100, it should be 25.
Since you can’t use division or modulo, you can test whether candidate is divisible by divisor using repeated subtraction.
The important part is that temp and isPrime must be reset for every new candidate, and you should only increment count after checking all possible divisors.
If 100 keeps giving you 5, I’d especially check whether one of those variables is accidentally carrying its old value into the next loop.
pdone_dot_app
Coding can be a great career switch, but I’d focus on solid CS/software fundamentals rather than chasing the highest-paying niche. A degree helps, but projects and actual skills matter a lot too.
pdone_dot_app
llm (ChatGPT etc.) If you have wifi, use it. Ask what you want to know, but without practice, I don't think you really learn how to do programming. Find some interesting project for you and learn on it. I wouldn't spend money on some random app tbh.
pdone_dot_app
Make it more harder next time. 👀
pdone_dot_app
I went on your Github profile. Not only on webpage, you sent. First of all, I would try to make it looks better "and normal". It doesn't look good to have pinned "so many projects"... Just pin two or three main, some short description.
I went fastly through your codes and I found f.e. this: mock-coffee-shop/assets/ChatGPT Image Sep 20, 2026, 02_12_27 PM.png
This is not something, you want to see...
Even now, when you want to remove it, it will be in your commits. That's one of the things, I would be "careful". Llm is ok to use, but doesn't look great to have this in image name etc...
Wdum by bot? xD In my nick, I have my own app as my name, but I'm not bot. 😂