News

Algorithm Take a string input from user and store it in the variable called “s”. Take a i for loop start from i=0 to i<s.length (). Check the condition that character is digit or not. Calculate sum of ...