Programming Languages C++ Objective
Mar 18, 2013

Which of the following statements declares a variable that can contain a decimal number?

Choose the correct answer:
A) dec payRate;
B) dec hourlyPay
C) float payRate
D) float hourlyPay;
Detailed Explanation

Option D is the right answer.

Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback