+ 10
The method is returning password, which is char[ ]. But method return type is char. That's the problem.
4th Nov 2017, 9:46 AM
Shamima Yasmin
Shamima Yasmin - avatar
+ 8
Change the return type of genratePswd to char[ ] from char, it should work if it doesn't contain any other bugs 🐛 Edit: code is attached https://code.sololearn.com/cUcc9BpfnSeK/?ref=app
4th Nov 2017, 10:23 AM
Shamima Yasmin
Shamima Yasmin - avatar
+ 5
Please link your code in the question, people cannot help you if they can't see where the problem is, and they need to see your code to do that :)
4th Nov 2017, 8:56 AM
Ipang