Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. public class potezna {
  2. public static void main(String[] args) {
  3. System.out.println("Kappa");
  4.  
  5. for (int i = 1; i <= 10; i++) {
  6. if (i%5 == 0){
  7. System.out.print(i);
  8. System.out.println(" podzielne przez 5");
  9.  
  10. }else{
  11. System.out.println(i);
  12. }
  13. }
  14.  
  15.  
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement