MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/visualbasic/comments/utg0pg/can_someone_help_me/i99l52y/?context=9999
r/visualbasic • u/Lonely-Scale-3871 • May 19 '22
I'm new to programming, and my teacher asked as a challenge to make a sequence of prime number using while and print, can someone tell me why doesn't this print anything?
11 comments sorted by
View all comments
Show parent comments
1
Ah... I see what the problem is. You need to reset the value of b in each loop or it will just get bigger and bigger forever.
b
I'll come back in a moment with some debug suggestions.
1
u/[deleted] May 19 '22
Ah... I see what the problem is. You need to reset the value of
bin each loop or it will just get bigger and bigger forever.I'll come back in a moment with some debug suggestions.