• Home
  • Textbooks
  • Microsoft Visual Basic Programs to Accompany Programming Logic and Design
  • Using Arrays in Visual Basic Programs

Microsoft Visual Basic Programs to Accompany Programming Logic and Design

Jo Ann Smith

Chapter 6

Using Arrays in Visual Basic Programs - all with Video Answers

Educators


Section 1

Array Basics

Problem 1

Write array declarations for each of the following:
a. Six book prices
$\qquad$
b. Three $\mathrm{CD}$ titles
$\qquad$
c. 15 whole numbers
$\qquad$

Check back soon!

Problem 2

Declare and initialize arrays that store the following:
a. The ages $22,34,7,62$, and 52
b. The names John, Laila, and Ed
c. The prices $7.00,95.00$, and 174.50

Check back soon!

Problem 3

Write an assignment statement that assigns the value 99 to the first element of an array of 20 integers named miles.

Check back soon!

Problem 4

Write an assignment statement that assigns the value 99 to the last element of an array of 20 integers named miles.

Check back soon!