0
C# Spent 4 hours on this noob code HELP!
C# Keeps giving me string to int error
4 Answers
+ 1
Your function is supposed to return an integer but you try to return a string. So what do you want to return?
0
https://code.sololearn.com/cLrj6420KXL0/?ref=app
Actually just fixed it by adding 2 lines and changing int to string ffs...this was part of a test for an apprenticeship job
0
P.S this was task 1/3 from a 4 hour time slot of them testing my code creating ability. Failed miserably