PMG Coding Challenge Snippet #5:

PHOTO EMBED

Thu Jan 11 2024 19:53:12 GMT+0000 (Coordinated Universal Time)

Saved by @TechBox #c++

    // Challenge Solution Part 5: Add 1 bonus point for every tenth of a second under 1.0 seconds
    // Keep in mind that 1 second is equal to 1,000 milliseconds
    if(time_to_press < 1000){
        score = score + 5;
    }
content_copyCOPY