Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class ProgramaMisterios {
- public static final int VALOR = 25;
- public static void main (String[] args) {
- int n = 0;
- for (int i = 1; i < VALOR; i++) {
- if (i%10 == 0) {
- n++;
- }
- }
- System.out.println("El resultat Ês " + n + ".");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment