Suppose you have a variable named grade, set to 1.6:
grade
1.6
double grade = 1.6; // uh-oh
Suppose later in the program's code, we want to change the value of grade to 4.0. Which is the correct syntax to do this?
4.0
grade : 4.0;
double grade = 4.0;
grade = 4.0;
4.0 = grade;
set grade = 4.0;