title: Declaring a variable without const vs with const - Test Question
body: <p>FYI: This is merely an opinionated question I am looking to find others opinion on.</p>
  
  <p>This was an <a href="https://i.stack.imgur.com/lew5K.png" rel="nofollow noreferrer">answer</a> to one of my Exams in my Computer Science class. Just so you know this was our first test and and the language used in the class is explicitly C++. If you click on the link to the image above you will see the question telling me that there are syntax errors, and that I am to write the acceptable code to make it work. The answer I put for the question was "double x;". Apparently this was incorrect, and I was supposed to "assume that final meant I needed to put const there". Now, truly, I understand my teachers logic in the fact that const does work, but there's nothing in the question stating anything regarding constants or to make the variable a constant. Regardless, both answers should be acceptable. </p>
  
  <p>The purpose of me writing this was to find a sense of, "Am i just wrong?", or do you guys agree that obviously this should be correct?</p>
  
  <p>Btw, in case you're wondering, this was not in a section where the instructions meant constants, or any mention of the word constant on the whole test. This was merely supposed to be intuition of some sort. </p>