Sir my doubt is it wont work for negative number isnt it??
@tejasddongare yes it won’t but you can first do for positive no then take its neg