Introduction
We use print and println to show messages or results on the screen. This helps us see what our program is doing.
To show a greeting message to the user.
To display the result of a calculation.
To debug by checking values of variables.
To ask the user for input by showing a prompt.
To print multiple lines of information step by step.