
Write a program that reads one camelCase identifier from the command line and prints it reformatted as snake_case.
./snake_fmt "buildReactApp"build_react_app
./snake_fmt "vibeCodingMetGccToday" | cat -evibe_coding_met_gcc_today$./snake_fmt | cat -ewrong number of arguments$snake_fmt.cwrite
Run the tests to grade your code
Write a program that reads one camelCase identifier from the command line and prints it reformatted as snake_case.
./snake_fmt "buildReactApp"build_react_app
./snake_fmt "vibeCodingMetGccToday" | cat -evibe_coding_met_gcc_today$./snake_fmt | cat -ewrong number of arguments$snake_fmt.cwrite
Run the tests to grade your code
Memory will appear here