You are on page 1of 7

UNDERSTANDING

ARRAY
WHAT IS ARRAY?

 An array is a data structure, which


can store a fixed-size collection of
elements of the same data type.
An array is used to store a collection
of data, but it is often more useful to
think of an array as a collection of
variables of the same type.
FORMAT SPECIFIER
 Format Specifiers tell us which type
of data to store and which type of data
to print. ROBOTC supports a number
of format specifiers. There are several
format specifiers available in
ROBOTC, but below is a list of the
most commonly used.
QUICK TIP!
HOW TO USE FORMAT SPECIFIERS
 Place the format specifier where you
would normally put the variable to be
printed; then add a comma followed by
the name of the variable you want to print.

You might also like