Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Programadora: Mayanna Oliveira
- * Email: mayannait@gmail.com
- * Aula: Revisão Java - While
- */
- public class DoWhile {
- public static void main(String[] args) {
- int a = 10;
- do {
- System.out.println("valor: " + a);
- } while (--a > 5);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement