Is this approach correct if yes then what changes should be made

@hrishikeshjanjal
The code is just fine and appropriate.

1 Like