Advertisement
Guest User

oceny

a guest
Apr 28th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. package com.company;
  2.  
  3. public class Main {
  4.  
  5. public static void main(String[] args) {
  6. System.out.println("Kolokwium nr 1 z PP: ");
  7. System.out.println();
  8. String uczen1 = "Cezary Krawczyk";
  9. String uczen2 = "Piotr Chudzik";
  10. String uczen3 = "Tomasz Dąbrowski";
  11. String uczen4 = "Piotr Bobel";
  12. String uczen5 = "Karolina Chudoba";
  13. String uczen6 = "Mariusz Nowak";
  14. String uczen7 = "Tarzan";
  15. double ocena = 2.0;
  16. for (int i = 0; i < 1; i++) {
  17. System.out.println("Uczeń " + uczen1 + " uzyskał ocenę " + ocena);
  18. System.out.println("Uczeń " + uczen2 + " uzyskał ocenę " + ocena);
  19. System.out.println("Uczeń " + uczen3 + " uzyskał ocenę " + ocena);
  20. System.out.println("Uczeń " + uczen4 + " uzyskał ocenę " + ocena);
  21. System.out.println("Uczeń " + uczen5 + " uzyskał ocenę " + ocena);
  22. System.out.println("Uczeń " + uczen6 + " uzyskał ocenę " + ocena);
  23. System.out.println("Uczeń " + uczen7 + " uzyskał ocenę " + ocena);
  24. }
  25. System.out.println();
  26. System.out.println("Zapraszam za dwa tygodnie");
  27. }
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement