Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

Introduction [2/10]

To run the program, click on the “Run” button.

The source code of this program consists of two statements, each in its own line.

The editor automatically colors the source code. This feature is known as “syntax highlighting”.

The println (P-R-I-N-T-L-N) statement outputs text on the screen (println is short for print line).

The disc function draws a disc.

Exercise:

Add one more statement to the program: disc( 600,150, 100 , /red );

Loading...