The applicant is confirmed. Give that status a name so the comparison reads like a check of the application, not a test against an unexplained number.
enum Signup with WAITING and CONFIRMED; initialize CONFIRMED and print Confirmed: 1 using a comparison.Compare state with CONFIRMED. Printing a literal 1 would hide the decision the code is meant to make.
Declare the enum before main; compare state == CONFIRMED.