$ cd <unzip_directory>/tests
realize that the files in tests are using an older CS50 API so
in hackerrank.c needs to be changed from
string s = get_string();
to
string s = get_string("Type here:");
for it to compile correctly. Otherwise you'll get errors like
hackerrank.c:6:16: error: expected expression string s = get_string();
So once the edit is made. Compile the code.
$ cc -lcs50 hackerrank.c $ ./a.out MessageType here: <type stuff> hello, <type stuff output> $