(Business: check ISBN-10) Rewrite the program for Programming Exercise by entering the ISBN number as a string.
Programming Exercise (Business: check ISBN-10) An ISBN-10 (International Standard Book Number) consists of 10 digits: d1 d2 d3 d4 d5 d6 d7 d8 d9 d10. The last digit, d10 , is a checksum, which is calculated from the other nine digits using the following formula:

If the checksum is 10 , the last digit is denoted as X according to the ISBN-10 convention. Write a program that prompts the user to enter the first 9 digits and displays the 10-digit ISBN (including leading zeros). Your program should read the input as an integer. Here are sample runs:


We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.