Write the statement that will declare and assign two integer variables, salesAmt and costAmt, in a single statement. Assign values of your choice to the variables.

What will be an ideal response?


int salesAmt = 100, costAmt = 15;?

Computer Science & Information Technology

You might also like to view...

Which of the following is an invalid definition?

a. string sa = "computers"; b. string sb{"computers"}; c. string sc{"c"3}; d. string sd{9, 'c'};

Computer Science & Information Technology

A _______________ search is more efficient than a linear search.

a) binary b) selection c) insertion d) bubble e) none of the above

Computer Science & Information Technology

You can use a wide-angle lens for shooting an image such as a landscape

Indicate whether the statement is true or false

Computer Science & Information Technology

What is a master item? Give some common examples of master items in use.

What will be an ideal response?

Computer Science & Information Technology