Posts by Pixel80 • 9 points
2 posts
-
-2
votes1
answer488
viewsQ: How to avoid this error message? "main.cpp:8:16: error: lvalue required as left operand of assignment"
I’m getting the error message: "main.cpp: In Function 'int main()': main.cpp:8:16: error: lvalue required as left operand of assignment (-10))/76=n-1;" In the code snippet below,? #include using…
-
-1
votes1
answer81
viewsQ: What’s wrong with this code?
Why this code is not being compiled? #include <iostream> using namesapace std; int main(){ long long xm; long long ym; long long xp; long long yp; cin>>xm; cin>>ym; cin>>xp;…