Quick Question about reportingForDuty()

Question said I should put string as parameters,

Why it shows Unexpected string?

The return should not have a { afterward and the string should be on the same line as the return.

I changed , but It is showing error now. Pls help…

You have quotation marks around rank and lastName that shouldn’t be there.
These are variables, so they shouldn’t have quotation marks.
should be
(rank, lastName)


I thought they want string in variables so I added ’ ’

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.