write a program that computes an integer's checksum. to compute the checksum, break the integer into its constituent digits and, working from right to left, doubling every second digit. if the product results in a number with two digits, treat those two digits independently. then, sum all the digits for the final checksum. for example, 1496 has a checksum of 21. we compute this by first breaking 1496 into constituents and doubling the ever second digit gihub

Respuesta :

Output:  22

Program Justification:

comprising header file:

defining the "findCheckSum" method, which has the number "n" as an argument.

What is an integer's checksum?

Program Justification:

comprising header file:

we are defining the "findCheckSum" method, which has the number "n" as an argument.

A while loop is defined by the declaration of the bool variable "c" and the two integer variables "S, d" inside the method.

A conditional statement that separates numbers, adds them to the "S" variable, and returns their values is specified inside the loop.

Therefore, the primary method, which invokes the "findCheckSum" method and prints its result, is declared outside the practice.

Learn more about integer's checksum, here:

https://brainly.com/question/24512819

#SPJ1