Check50 and I agree in the fact that my initials.c program exists and compiles. However, I am not getting the happy face for the next 5 tests of check50. The prompt of check 50 is this.
:( outputs "MB" for "Milo Banana"
\ expected output, but not "MB"
:( outputs "MB" for "milo banana"
\ expected output, but not "MB"
:( outputs "RTB" for "Robert Thomas Bowden"
\ expected output, but not "RTB"
:( outputs "R" for "ROB"
\ expected output, but not "R"
:( outputs "RTB" for "Robert thomas Bowden"
\ expected output, but not "RTB"
My answers seem to match the correct ones but I'm not receiving good feedback.
I was watching the section of week 2 in search for some answers, but I did not find any clue on how to solve this.
Also, it might be useful to know, to answer my question, that my initials.c program prints each letter (initial) every iteration of a loop. The initials are not printed in one printf.
The output of the program looks like this:
jharvard@appliance (~/Dropbox/pset2): ./initials
milo banana
MBjharvard@appliance (~/Dropbox/pset2):
Where bold text is input from user.
printf()
calls.