GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Loops: while and for by alvar-o · Pull Request #50 · javascript-tutorial/pt.javascript.info Conversation
|
There was an error while loading. Please reload this page.
|
Álvaro Antonio seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Hey, I followed instructions to set my email address in Git and signed the CLA. Do I have to submit a new PR to make it work? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Your translation is very good, there is just some little terms that I think could be correct.
I can't finish now. Thanks!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| 3. If `true` -- execute the loop body `alert(i)`, and then `i++` | ||
| 1. Executar `i = 0` uma vez antes de tudo (begin). | ||
| 2. Verificar a condição `i < 5`. | ||
| 3. Caso verdadeira (`true`), executar o corpo do loop `alert(i)`, e em seguida `i++`. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Write the verbs on simple present:
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| # Repetir até que o input esteja correto | ||
|
|
||
| Write a loop which prompts for a number greater than `100`. If the visitor enters another number -- ask them to input again. | ||
| Escreva um loop que peça um número maior que `100`. Se o usuário digitar outro número, peça para digite digitar novamente. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| Há muitos algotimos para esta tarefa. | ||
|
|
||
| Let's use a nested loop: | ||
| Vamos utilizar um loop dentro de outro (isto é, aninhado): |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I think we need to add the "nested loop" term here, inside parenthesis.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| if yes => the value is not a prime | ||
| if no => the value is a prime, show it | ||
| Para cada i no intervalo { | ||
| testar se i tem um divisor de 1 a i |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Are you still available to proceed with the translation? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.