Pr0gramer icon

Numeros del 1-100 usando: While

Pr0gramer | PRO | 08/01/18 03:24:03 AM UTC | 0 ⭐ | 278 👁️ | Never ⏰ | []
Java |

210 B

|

None

|

0 👍

/

0 👎

package numeros_del_1.pkg100;
public class Numeros_del_1100 {
    public static void main(String[] args) {
    int x=1;
    while (x<=100) {
        System.out.printf("%d-",x);
        x = x+1;
    }
    }
}

Comments