Which one of the following lines names a constant needed in a program that computes the price per square inch of a round pizza?

a. scanf("%lf", &radius);
b. pi = 3.14159;
c. #define PI 3.14159
d. #include
e. none of the above


C

Computer Science & Information Technology

You might also like to view...

Take a picture of something in the physical world that provides a helpful cue to help people make a choice, and be prepared to present it to the class.

What will be an ideal response?

Computer Science & Information Technology

The ________ function is a text function used to join the text from two or more cells into one cell

Indicate whether the statement is true or false.

Computer Science & Information Technology

_____ refers to the practical resources needed to develop, purchase, install, or operate a system.

A. Operational feasibility B. Technical feasibility C. Schedule feasibility D. Market feasibility

Computer Science & Information Technology

Given the following declaration:  int j;int sum;double sale[10][7];  which of the following correctly finds the sum of the elements of the fifth row of sale?

A. sum = 0; for(j = 0; j < 7; j++)  sum = sum + sale[5][j]; B. sum = 0; for(j = 0; j < 7; j++)  sum = sum + sale[4][j]; C. sum = 0; for(j = 0; j < 10; j++)  sum = sum + sale[5][j]; D. sum = 0; for(j = 0; j < 10; j++)   sum = sum + sale[4][j];

Computer Science & Information Technology