Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Give a definition of a class named Arithmetic whose methods are three add() and multiply() and one subtract() and divide().

1.     Give a definition of a class named Arithmetic whose methods are three add() and multiply()   and one subtract() and divide().

·        Parameter for add() and multiply() should be two, three and four int respectively.

·        Parameter for subtract() and divide() should be two int.

·        Applying method calling in the main(), test your program by:

 add(1,3)

add(1,3,4,5)

multiply(2,3,4)

multiply(1,1)

subtract(3,1)

divide(5,2)

2.    program that takes in two strings as arguments - the source and destination filenames, respectively. Then, read from the source file and write its content to the destination file with all occurrences of spaces (' ') converted to underscores ('_').

***How to create a library system using java program:

- Accession Number ( 1234FANTH2017)

-5 digits, 4 letters, year.

-Allow student to borrow up to 2 books

-Borrow date( add 3 days)

- Fine (10 php per day/per student)

-Payment( change should be displayed/shown)

-Add, edit(update) , Archieve of books

- viewing of book(OPAC)

-Min of 50 books, Max of 100 books

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question