Advertisement
szkoleniaTIK

Untitled

Sep 2nd, 2022
796
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.37 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class Przyklad3 {
  4.  
  5.     public static void main(String[] args) {
  6.  
  7.         Scanner scan = new Scanner(System.in);
  8.         System.out.println("Podaj swój ulubiony cytat");
  9.  
  10.         //np. Kto podróżuje, ten dwa razy żyje.
  11.         String cytat = scan.next();
  12.  
  13.         System.out.println("Twój ulubiony cytat: " + cytat);
  14.     }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement