Showing wrong answer with test cases including -ve values and test cases containing alphabet 't'


Here goes my code

@tanjuljain19
you dont need to store the answer in the string, you can simple calculate the difference and print the number on the go.
Please see this code for implementation.