What is error in the code

Please format your code - the forum software has mangled it and it won’t compile! :slight_smile:

Also - please just link to the Problem, rather than (partially) copying it out.