fix(main.c) add const for input validation format