Which one of the following statements initializes a variable with a decimal literal?

a. string display Price = "$14.99";
b. decimal budget = 450m;
c. int inventory = 150;
d. double volume = 30.25;


b. decimal budget = 450m;

Computer Science & Information Technology

You might also like to view...

A _______ is a list constructed using pointers.

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

Computer Science & Information Technology

The internal pointer is deleted once the last ________ to the resource is destroyed.

a. smart pointer b. shared_ptr c. weak_ptr d. link

Computer Science & Information Technology

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

5. The char data type provides a single method that determines whether a character is a letter or number. 6. Character testing methods, such as char. Is Letter return a Boolean value of true or false. 7. If you pass an uppercase letter to the char.To Lower method, the character it returns will be unchanged 8. The string data type has several methods that allow you to search for sub strings.

Computer Science & Information Technology

One of the reasons why a peripheral device malfunctions can be a(n) outdated device driver.

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

Computer Science & Information Technology