0% found this document useful (0 votes)
21 views7 pages

Understanding Array

An array is a data structure that can store a fixed number of elements of the same data type. Arrays are used to store collections of data and can be thought of as collections of variables of the same type. Format specifiers in ROBOTC indicate the type of data to store in an array and print from it. Common format specifiers specify data types like integers, floats, and characters. Format specifiers are placed where a variable would normally be printed, followed by a comma and the variable name.

Uploaded by

Esminaj321
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views7 pages

Understanding Array

An array is a data structure that can store a fixed number of elements of the same data type. Arrays are used to store collections of data and can be thought of as collections of variables of the same type. Format specifiers in ROBOTC indicate the type of data to store in an array and print from it. Common format specifiers specify data types like integers, floats, and characters. Format specifiers are placed where a variable would normally be printed, followed by a comma and the variable name.

Uploaded by

Esminaj321
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 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