Using The Screen
You can also send combinations of text and
values from variables to the screen.
You
simply place a comma between these
combinations.
n
Writeln( ‘The price is £’,price : 3 : 2 ) ;
n
Writeln( ‘You are ‘,age,’ years old.’ ) ;
The user would see the following on screen.
The price is £120.99
You are 21 years old.