Advertisement
Hirwanto

verbments01

Mar 30th, 2015
743
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 0.45 KB | None | 0 0
  1. \documentclass{article}
  2. \usepackage{verbments}
  3. %\plset{language=java,texcl=true,style=vs,bgcolor=Moccasin}
  4. \begin{document}
  5. \begin{pyglist}[language=java]
  6. // Hello Java program
  7. import java. util . *;
  8. public class Hello {
  9. public static void main(String[] args) {
  10. Scanner kb = new Scanner(System.in);
  11. System.out.print (" What is your name? ");
  12. String name = kb.nextLine();
  13. System.out.println (" Hello " + name + "!");
  14. }}
  15. \end{pyglist}
  16. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement