Which one of the following assignment statements will cause an error because of mismatching data types?
A) decimal cost = 0.99m;
B) decimal retail = 100;
C) decimal wholesale = 50.0;
D) decimal fee = 0.01m;
Correct Answer:
Verified
Q47: A variable's _ is the time period
Q48: Which one of the following statements initializes
Q49: A(n) _ variable belongs to the method
Q50: A _ holds only one data value
Q51: Programmers use the term _ to describe
Q53: A _ variable's scope begins at the
Q54: When coding most statements, you can press
Q55: A variable of the _ data type
Q56: You cannot assign a double or a
Q57: You can use a(n) _ to explicitly
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents