Question #258016

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;


Expert's answer

a. C++ is a high level language

b. Enter the distance traveled:

c The difference of 7 and 3 = 4


LATEST TUTORIALS
APPROVED BY CLIENTS