Sunday, February 28, 2016

Getting There...

Things have gotten even more complicated with the arrival of arrays, one-dimensional, two-dimensional, and three-dimensional. Arrays are basically data tables that a program can pull from to perform certain tasks and algorithms. There are two main ways to place values into an array: a) through the use of a "cin" command, or b) by stating them when you initially declare the array. The included screenshot displays the second method, and uses chosen data values to complete a simple subtraction and output function. Arrays will be a key part of our final program.

No comments:

Post a Comment