Advertisement
Guest User

1

a guest
Feb 18th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1.  
  2.  
  3. import java.io.*;
  4.  
  5. public class Main {
  6. public static void main(String[] args) throws Exception {
  7. //напишите тут ваш код
  8.  
  9. int number = 10;
  10.  
  11. while (number <=10 && number >= 1) {
  12. System.out.println(number);
  13. number--;
  14. }
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement