Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.javarush.task.task04.task0430;
- /*
- От 1 до 10
- */
- import java.io.*;
- public class Solution {
- public static void main(String[] args) throws Exception {
- //напишите тут ваш код
- int number = 1;
- while (number <= 10) {
- System.out.println(number);
- number++;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement