0
Is there any problem in this program?? Its not working plz tell em a beginner
#include <iostream> using namespace std; int main() { Â Â int a, b, c; Â Â cout << "Enter two numbers to add\n"; cin >> a >> b; Â Â c = a + b; Â Â cout <<"Sum of entered numbers = " << c <<; Â Â return 0; }
1 Answer
+ 4
You forgot endl. Either add that in the last cout statement or just remove the last two <<.