Which of the following array declarations would be best suited for storing prices of items sold in a store?

a. Declare String itemPrice[SIZE]
b. Declare Integer itemPrice[SIZE]
c. Declare Real itemPrice[SIZE]
d. Declare itemPrice[Real]


c. Declare Real itemPrice[SIZE]

Computer Science & Information Technology

You might also like to view...

Answer the following statements true (T) or false (F)

1. Cloudiness primitives are not directly implemented within the cloud infrastructure itself, making Cloudiness highly inefficient. 2. With information-centric networking (ICN), a distinction exists between location and identity. 3. Virtualization technologies effectively emulate or simulate a hardware platform, such as a server, storage device, or network resource, in software. 4. A machine running virtualization software can only host applications that are running on the same operating systems. 5. Hardware virtualization is the use of software to partition a computer's resources into separate and isolated entities called virtual machines.

Computer Science & Information Technology

With the border shorthand property, if you omit a value for color, the border color defaults to black.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

A good way to avoid pointer related problems associated with class default assignment operators is to ____.

A. avoid the use of assignment B. avoid the use of pointers C. explicitly write an assignment operator D. avoid the use of classes

Computer Science & Information Technology

Click the ____ button to view Master Documents.

A. Draft B. Outline C. Web Layout D. Print Layout

Computer Science & Information Technology