beyondgrader.com Logo
DemoBrowseAboutTeamLogin

Array Basics

Geoffrey Challen // 2020.6.0

Let's get some practice with basic array usage. Below, you have two tasks. First, declare an array of ints named numbers and initialize it to contain the values 0, 8, 9, 4, and 5, in that order. Second, given an existing array of doubles named values, print its first value and also change its third value to 1.25.