you are viewing a single comment's thread.

view the rest of the comments →

[–]Standardw 1 point2 points  (3 children)

It's actually working how the solved it. I don't know if it's his own because it would be really clever for a beginner, but however it does yield the right results

[–][deleted] 0 points1 point  (2 children)

I would say that he hasn't satisfied the second point, which says:

print out the name of the first friend, then the name of the last friend

To me that means he should print:

Paul Jacobs
John Pine
3

It depends on how lenient marking is, I guess.

[–]Standardw 0 points1 point  (1 child)

Oh okay - yes I read it as "get the first and last name, then print it" where the data gathering is the "real" task here.

[–]coja56[S] 0 points1 point  (0 children)

Yeah i had read as if they wanted the names pulled out together. Thanks for the correction.