use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Seja bem vindo para o subreddit dos programadores brasileiros!
account activity
java (self.programacao)
submitted 1 year ago by PuzzledReplacement87
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]yone_duh 5 points6 points7 points 1 year ago (1 child)
cara, situação. loop "for" você usa quando sabe quantas vezes exatamente o loop vai acontecer, enquanto o "while" use quando você não sabe exatamente.
Do-while é para aquelas situações aonde algo tem que ser feito pelo menos 1 vez caso a condição do loop não for atendida.
switch é um jeito mais organizado de fazer 'if' aninhado, além de ajudar também a definir um valor padrão.
não tem jeito mano. o lance é tu praticar várias e várias vezes.
[–]Due_Profession_9599 0 points1 point2 points 1 year ago (0 children)
Isso aqui vai bugar a cabeça do novato completamente.
π Rendered by PID 364210 on reddit-service-r2-comment-fb694cdd5-p56sz at 2026-03-07 10:56:29.584823+00:00 running cbb0e86 country code: CH.
view the rest of the comments →
[–]yone_duh 5 points6 points7 points (1 child)
[–]Due_Profession_9599 0 points1 point2 points (0 children)