Why are you asking other people to answer a question about something that's affected <u>you?</u>
Answer:
In Java:
import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String isbn;
System.out.print("First 1:2 digits: ");
isbn = input.nextLine();
if(isbn.length()==12){
int chksum = 0;
for(int i = 0; i<12;i++){
if((i+1)%2==0){ chksum+= 3 * Character.getNumericValue(isbn.charAt(i)); }
else{ chksum+=Character.getNumericValue(isbn.charAt(i)); } }
chksum%=10;
chksum=10-chksum;
if(chksum==10){
System.out.print("The ISBN-13 number is "+isbn+"0");}
else{
System.out.print("The ISBN-13 number is "+isbn+""+chksum); } }
else{
System.out.print("Invalid Input");
} }}
Explanation:
See attachment for explanation where comments are used to explain each line
Answer:
The answer to this question is given below in the explanation section
Explanation:
Bulleted and Numbered List button appear in the <u>Paragraph </u>Toolbar.
On word processing software, these options display in paragraph toolbar in the Home ribbon.
for example, in MS Word, you can find them in the Home tab under paragraph groups of command.
however, it is noted that these options are appear in some other software under the formating toolbar.
Answer:
C. Object Oriented
Explanation:
In Object Oriented approach to development of information systems, processes and data are handled independently and could be tested as separate modules before the actual development begin.
Hope this helps!