I keep getting the error "‘else’ without a previous ‘if’" and don't know why

Subscribers:
4,120
Published on ● Video Link: https://www.youtube.com/watch?v=fXJQnejBvEg



Duration: 7:23
54 views
1


I keep getting the error "‘else’ without a previous ‘if’" and don't know why
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(stackoverflow.com/users/17762920/travis-games)Travis Games |
(stackoverflow.com/users/4117728/463035818-is-not-a-number)463035818_is_not_a_number |
(stackoverflow.com/users/2877241/vlad-from-moscow)Vlad from Moscow |
(stackoverflow.com/users/6319901/dark-sorrow)Dark Sorrow |
(stackoverflow.com/users/2921426/simonc)SimonC |
(stackoverflow.com/users/6119582/sweenish)sweenish |
A special thanks goes out to the (https://stackoverflow.com/questions/74602815/i-keep-getting-the-error-else-without-a-previous-if-and-dont-know-why)Stackexchange community |

I wish you all a wonderful day! Stay safe :)

compiler-errors if-statement c++







Tags:
compiler-errors
if-statement
c++