fork download
  1. import java.util.*;
  2. import java.lang.*;
  3. import java.io.*;
  4.  
  5. /* Name of the class has to be "Main" only if the class is public. */
  6. class Ideone
  7. {
  8. public static void main (String[] args) throws java.lang.Exception
  9. {
  10. String zdanie = "To jest zdanie.";
  11. int liczba_liter = 12;
  12. int dzielenie = 5;
  13. double wynik = 2.4;
  14. boolean stan = true;
  15.  
  16. //System.out.println(zdanie);
  17. //System.out.println("Ma " + liczba_liter + " liter.");
  18. //System.out.println("Dzieląc je na " + dzielenie + " otrzymujemy " + wynik);
  19. //System.out.println("Dzieląc je na " + dzielenie + " otrzymujemy " + ((double) liczba_liter/dzielenie));
  20. //System.out.println("Co jest " + stan + ".");
  21. // your code goes here
  22.  
  23. System.out.println(zdanie.charAt(3));
  24. }
  25. }
Success #stdin #stdout 0.06s 32272KB
stdin
Standard input is empty
stdout
j