2 Matching Annotations
- Nov 2021
-
csawesome.runestone.academy csawesome.runestone.academy
-
What is the value of letter if letter = 'c' + 3?
You should have indicate that the variable letter is a char. The character 'c' is always converted into an int then the 3 is added (which give 102).
-
-
csawesome.runestone.academy csawesome.runestone.academy
-
Fix the code below so that it runs without errors. Hint: you might need to change the names of some variables.
Be carefull ! Here, you have to add the line below just before the line "int main() {" :
#include <iostream>
-