We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I've added a solution for it to the Editorial. If you are failing this challenge, it's because of an error in the code you wrote (typically a spelling error in your output, like how the statements you pasted above are missing a period after teenager). The whitespace at the end of the output needs to be there to space each print statement and is trimmed before being compared with the test case.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 4: Class vs. Instance
You are viewing a single comment's thread. Return to all comments →
C# is not broken, your code is.
I've added a solution for it to the Editorial. If you are failing this challenge, it's because of an error in the code you wrote (typically a spelling error in your output, like how the statements you pasted above are missing a period after teenager). The whitespace at the end of the output needs to be there to space each print statement and is trimmed before being compared with the test case.