Sininerebane

Untitled

Dec 21st, 2021
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. public class Domashka8 {
  2. public static void main(String[] args) {
  3. int a = 0;
  4. while (a <= 10) {
  5. if (a == 3) {
  6. System.out.println("Вот счастливое число!");
  7. break;
  8. }
  9. a++;
  10. }
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment