Which of the following constant definitions is correct?

a) const float PRICE = 3,500;
b) const int LENGTH = 6.5;
c) const float COST = $700.0;
d) const int MY_HEIGHT = 60 / 12;


d) const int MY_HEIGHT = 60 / 12;

Computer Science & Information Technology

You might also like to view...

Which of the following statements is false?

a. The Java API consists of packages. b. The Java API helps programmers avoid "reinventing the wheel." c. The Java API consists of import declarations. d. None of the above.

Computer Science & Information Technology

You pass to the array_shift() function the name of the array whose first element you want to ____________________ .

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

The score of students in a subject is inserted in B2 cell and the passing score for the subject is 60. Which of these functions will you insert in C2 cell to check if the student has passed or failed?

a. =IF(B2>=60, "Pass", "Fail") b. =OR(B2>=60, "Pass", "Fail" c. =AND(B2>=60, "Pass", "Fail") d. =NOT(OR((B2>=60, "Pass", "Fail"))

Computer Science & Information Technology

Because the public switched telephone network (PSTN) was designed long before computers were common, it was designed to work with only one type of data: ____________________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology