ISBN-13 is a new standard for indentifying books. It uses 13 digits d 1 d 2 d
Question:
ISBN-13 is a new standard for indentifying books. It uses 13 digits d1d2d3d4d5d6d7d8d9d10d11d12d13. The last digit d13 is a checksum, which is calculated from the other digits using the following formula:
If the checksum is 10, replace it with 0. Your program should read the input as a string. Here are sample runs:
Transcribed Image Text:
10 – (di + 3d, + dz + 3d4 + dz + 3d, + d, + 3dz + d, + 3d10 + d1 + 3d12)%10 Enter the first 12 digits of an ISBN-13 as a string: 978013213080 JEnter The ISBN-13 number is 9780132130806 Enter the first 12 digits of an ISBN-13 as a string: 978013213079 JEnter The ISBN-13 number is 9780132130790 Enter the first 12 digits of an ISBN-13 as a string: 97801320 JEnter 97801320 is an invalid input
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 64% (14 reviews)
Program Plan 1 Create a class CheckISBN13 2 Declare and Initialize the variables int checksurn017 ch...View the full answer
Answered By
Ashington Waweru
I am a lecturer, research writer and also a qualified financial analyst and accountant. I am qualified and articulate in many disciplines including English, Accounting, Finance, Quantitative spreadsheet analysis, Economics, and Statistics. I am an expert with sixteen years of experience in online industry-related work. I have a master's in business administration and a bachelor’s degree in education, accounting, and economics options.
I am a writer and proofreading expert with sixteen years of experience in online writing, proofreading, and text editing. I have vast knowledge and experience in writing techniques and styles such as APA, ASA, MLA, Chicago, Turabian, IEEE, and many others.
I am also an online blogger and research writer with sixteen years of writing and proofreading articles and reports. I have written many scripts and articles for blogs, and I also specialize in search engine
I have sixteen years of experience in Excel data entry, Excel data analysis, R-studio quantitative analysis, SPSS quantitative analysis, research writing, and proofreading articles and reports. I will deliver the highest quality online and offline Excel, R, SPSS, and other spreadsheet solutions within your operational deadlines. I have also compiled many original Excel quantitative and text spreadsheets which solve client’s problems in my research writing career.
I have extensive enterprise resource planning accounting, financial modeling, financial reporting, and company analysis: customer relationship management, enterprise resource planning, financial accounting projects, and corporate finance.
I am articulate in psychology, engineering, nursing, counseling, project management, accounting, finance, quantitative spreadsheet analysis, statistical and economic analysis, among many other industry fields and academic disciplines. I work to solve problems and provide accurate and credible solutions and research reports in all industries in the global economy.
I have taught and conducted masters and Ph.D. thesis research for specialists in Quantitative finance, Financial Accounting, Actuarial science, Macroeconomics, Microeconomics, Risk Management, Managerial Economics, Engineering Economics, Financial economics, Taxation and many other disciplines including water engineering, psychology, e-commerce, mechanical engineering, leadership and many others.
I have developed many courses on online websites like Teachable and Thinkific. I also developed an accounting reporting automation software project for Utafiti sacco located at ILRI Uthiru Kenya when I was working there in year 2001.
I am a mature, self-motivated worker who delivers high-quality, on-time reports which solve client’s problems accurately.
I have written many academic and professional industry research papers and tutored many clients from college to university undergraduate, master's and Ph.D. students, and corporate professionals. I anticipate your hiring me.
I know I will deliver the highest quality work you will find anywhere to award me your project work. Please note that I am looking for a long-term work relationship with you. I look forward to you delivering the best service to you.
3.00+
2+ Reviews
10+ Question Solved
Related Book For
Introduction to Java Programming, Comprehensive Version
ISBN: 978-0133761313
10th Edition
Authors: Y. Daniel Liang
Question Posted:
Students also viewed these Computer science questions
-
Figure 13-31 is an SSD for the use case Check out books in the university library system. Do the following: a. Develop a first-cut sequence diagram that only includes the actor and problem domain...
-
Using your solution to problem 1, do the following: a. Add the view layer classes and the data access classes to your diagram. You may do this with two separate diagrams to make them easier to work...
-
Figure 13-32 is an activity diagram for the use case Return books in the university library system. Do the following: a. Develop a first-cut sequence diagram that only includes the actor and problem...
-
Consider a situation with two countries that have abatement cost functions : for j=L and j=H. The countries have identical damage functions D(E)= d.E.For each country the parameters s j are drawn...
-
Describe an algorithm that interchanges the values of the variables x and y, using only assignments. What is the minimum number of assignment statements needed to do this?
-
To what extent do YOU believe knowledge of organisational theory can help predict the future and results in less organisational disturbance from the unexpected?
-
The type of model building used by Pauling and by Watson and Crick involved the use of ball-and-stick units. Model building can now be done with computer software. Even though you may not be familiar...
-
Nicks Novelties, Inc., is considering the purchase of electronic pinball machines to place in amusement houses. The machines would cost a total of $300,000, have an eight-year useful life, and have a...
-
You are to PAY 350,000 on March 16. Todays spot rate is $1.15/. The forward rate is $1.18/. On March 16 the spot rate is $1.14/. Futures contracts are for 125,000 each. Q1. How many contracts do you...
-
Use the Modified Euler method to approximate the solutions to each of the following initial-value problems, and compare the results to the actual values. a. y' = te3t 2y, 0 t 1, y(0) = 0, with...
-
Write a program that prompts the user to enter a string and displays the characters at odd positions. Here is a sample run: Enter a string: Beijing Chicago JEnter BiigCiao
-
Write a program that prompts the user to enter a string and displays the string in reverse order. Enter a string: ABCD The reversed string is DCBA JEnter
-
Use the following data for parts (a) through (f). a. Determine the equation of the least squares regression line to predict y by x. b. Using the x values, solve for the predicted values of y and the...
-
Accrued Expenses At December 31, 2016, accrued expenses primarily included $60.8 million and $24.7 million of accrued compensation and benefits and marketing expenses, respectively. At December 31,...
-
_____ are the people a consumer turns to for reinforcement of a decision. A. Decision groups B. Response groups C. Loyalty groups D. Reference groups _____ are lists of an organizations own...
-
(c) Given the declarations below int *tPtr; /* tPtr will reference array t */ int t[] = {7, 4, 78, 2, 13, 10, 9, 80}; tPtr = t; The following piece of code is supposed to print even numbers of the...
-
what is the argument of Jim crow moves north by davison douglas?
-
A firm had the following financials last year: Sales Revenue = $3,060 Accounts receivable = $500 Interest expense = $126 Total operating expenses = $600 Accounts payable = $240 Cost of goods sold =...
-
Following is the description of sales and cash receipts for Lady's Fashion Fair, a retail store dealing in expensive women's clothing. Sales are for cash or credit, using the store's own billing...
-
Listed below are several terms and phrases associated with basic assumptions, broad accounting principles, and constraints. Pair each item from List A (by letter) with the item from List B that is...
-
Most class data fields are _____________. a. private b. public c. static d. final
-
The concept of allowing a classs private data to be changed only by a classs own methods is known as _____________. a. Structured logic b. Object orientation c. Information hiding d. Data masking
-
Suppose you declare an object as Book myJournal;. Before you store data in myJournal, you _____________. a. Also must explicitly allocate memory for it b. Need not explicitly allocate memory for it...
-
How do microorganisms adapt to diverse environmental conditions through phenotypic plasticity, metabolic flexibility, and stress response pathways, and how does this versatility influence microbial...
-
6M analysis of the present and future marketing communication approach for topgolf. Spending willl be the greatest challenge, but include numbers. Also need to include a gantt chart or some other...
-
Fill out the Special event template below. Directions : Conduct event-specific research to address the relevant areas of the outline. If some sections of the outline are not used, provide a brief...
Study smarter with the SolutionInn App