Denne browser understøttes ikke længere.
Opgrader til Microsoft Edge for at drage fordel af de nyeste funktioner, sikkerhedsopdateringer og teknisk support.
Suppose decimal gradePointAverage = 3.99872831m;. What is the value of (int) gradePointAverage?
decimal gradePointAverage = 3.99872831m;
(int) gradePointAverage
3.99
4
3
In the following code decimal x = 7 / 5; why does x = 1?
decimal x = 7 / 5;
Using the decimal data type truncates the fraction.
decimal
Dividing two integers performs integer division.
This line of code has an error.
You must answer all questions before checking your work.
Continue
Var denne side nyttig?