I want to ask for help with this code. I'm trying to create a code where it will randomly generate a number and once it lands to a specific number, it will trigger a message saying "You won something" or if it lands to a number that isn't the specific one then it will trigger "You won nothing".
#include <ctime>
#include <iostream>
using namespace std;
int main() {
    jump:
    srand((unsigned) time(0));
    int randomNumber;
        for (int index = 0; index = 1; index++) {
            randomNumber = (rand() % 5) + 1;
            cout << randomNumber << endl;
            if (randomNumber == 5) {
                cout << "You won something!\n" << endl;
                break;
            } else {
                cout << "You won nothing!\n" << endl;
                goto jump;
            }
        }
}```
