

CodePudding user response:
Because cin> C to extract away the first letter, delete cin> C why this one line of code that can solve the num is less of a problemIn addition you sum seems not added the num, is this intended?
CodePudding user response:
Delete the cin that how do I enterCodePudding user response:
C=getchar () is the inputCodePudding user response:
Or a no less