What is the value of cube after the following code executes?

double cube, side;
side = 5.0;
cube = pow(side, 3.0);

a. 25.0
b. 15.0
c. 125.0
d. 8.0
e. unknown


c. 125.0

Computer Science & Information Technology

You might also like to view...

Font size is normally 9-12 points, but you can select any font size up to _____.

A. 36 B. 48 C. 72 D. 96

Computer Science & Information Technology

Which of the following should be considered when setting column widths?

A. ?Keeping the column and row counts even B. ?Setting the column width in terms of pixels per column C. ?Setting the column width in terms of characters per column D. ?Keeping the column size same as the row size

Computer Science & Information Technology

Microsoft Office for Mac 2011 offers ____ as a feature that lets you easily create professional looking business diagrams, such as organizational charts, process diagrams, and timelines.

A. SmartArt B. Draw Table C. Clip Gallery D. Table Styles Gallery

Computer Science & Information Technology

In some database programs, a data file is referred to as a(n) ______.

A. table B. unit C. record D. sheet

Computer Science & Information Technology