1.
Fix the code below so that it runs without errors. Hint: you might need to change the names of some variables.
Solution.
Below is one way to fix the program. true and false are keywords, so they cannot be used as variable names.
#include <iostream>
using namespace std;
int main() {
char t = 'T';
char f = 'F';
cout << t << " is short for true. ";
cout << f << " is short for false." << endl; cout << f << " is short for false." << endl;
}