Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class FaVoltes {
- public static void main(String[] args) {
- int valor = 0;
- int compta = ???;
- while ((valor < 30)||(valor%2 == 0)) {
- valor = valor + compta;
- compta++;
- }
- System.out.println(valor);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement