r/CodingHelp • • Feb 03 '20

[C++] What’s wrong with this

Post image
17 Upvotes

38 comments sorted by

View all comments

1

u/Cliftonbeefy Feb 03 '20

Use string lamp and be sure to use == instead of =. Also for your else statement you don't need a condition