answer this question
Attachments:
Answers
Answered by
3
I.
Lines 1 and 2 contain comments.
II.
TextWindow object is used in the côde
III.
TextWindow.WriteLine(data) Writes text or number to the text window. Also, the next time something is written on the screen it will go in a new line as this method adds a new line character to the output.
So, here it is used to provide a line between the two output statements.
IV.
Two methods used in this program are:
- TextWindow.WriteLine( ) and,
- TextWindow.ReadNumber( )
Similar questions