Need help converting Pseudocode to java

Printable View