Read and convert a sequence of digits to its equivalent integer. Any leading white space should be skipped. The conversion should include digit characters until a non-digit character is encountered. Modify the program so it can read and convert a sequence of digit characters preceded by a sign, + or -.
I done this problem using java program
Program:
Output:
Get Answers For Free
Most questions answered within 1 hours.