Welcome to the practical library
Learn the logic.
Read the code.
Select any program from the index to view its question, step-by-step algorithm, Java program and sample output.
01
Algorithm
Clear, numbered steps
{ }
Java source
Readable syntax colours
↳
Output
Sample run
Tip: use the search box to find a program quickly.
Suggestions
Share a comment or request a program
Use this form to send a comment, report an issue, or suggest a new practical. Your message will be saved for review by the school.