Get the answers you need at Westonci.ca, where our expert community is dedicated to providing you with accurate information. Join our Q&A platform to connect with experts dedicated to providing accurate answers to your questions in various fields. Our platform provides a seamless experience for finding reliable answers from a network of experienced professionals.

write a method called digitsum that accepts an integer as a parameter and returns the sum of the digits of that number. for example, the call digitsum(29107) returns or 19 . for negative numbers, return the same value that would result if the number were positive. for example, digitsum(-456) returns or 15 . the call digitsum(0) returns 0 .