
Repair the one syntax error in greet.c so the program builds, without changing the three lines it prints.
./greet | cat -eExpected result
hello, world$
greet v1.0$
ready$For your own tracking. Tests grade your code.
./greet --help | cat -eExpected result
hello, world$
greet v1.0$
ready$./greet '' cargo build --release | cat -eExpected result
hello, world$
greet v1.0$
ready$Expected files
greet.cAllowed functions
write
v0.40: Create exercises. Challenge the community.
Meet Studio →Repair the one syntax error in greet.c so the program builds, without changing the three lines it prints.
./greet | cat -eExpected result
hello, world$
greet v1.0$
ready$For your own tracking. Tests grade your code.
./greet --help | cat -eExpected result
hello, world$
greet v1.0$
ready$./greet '' cargo build --release | cat -eExpected result
hello, world$
greet v1.0$
ready$Expected files
greet.cAllowed functions
write
Run the tests to grade your code
Build your code, then check each test here. Open a result to inspect its output.