Im taking my first comp science class and am having some trouble understanding c++
I'm going through some hw now and ive been stuck on this question for a while can anyone help explain this?
What output would be displayed by the program if the data entered is 3.0 and 5.0:
// assume a and b are float variables
cout << "Enter two numbers: "';
cin >> a >> b;
a = a - 5.0;
b = a * b;
cout << "a = " << a << endl;
cout << "b = " << b << endl;
It then asks what the 1st and 2nd output lines are?