What is the output of the following C++ statements?
a. cout << "C++ is a high level language." << endl;
b. cout << "Enter the distance traveled: " << endl;
c. cout << "The difference of 7 and 3 = " << 7 - 3 << endl;
a. C++ is a high level language
b. Enter the distance traveled:
c The difference of 7 and 3 = 4
Comments
Leave a comment