5 java programs | Computer Science homework help

1. Write a Java program which reads a text file called mydata.txt containing the following numbers: 23 18 78 64 28 39 92 93 69 and computes the minimum, maximum and sum of the numbers and puts the output in a file called myresults.txt. (10 Points)

 

Attach your java program and your input and output files.

 

 

2. Write a Java Program that prints out Division by Zero and Array Out of Bounds Exceptions when a User attempts to find all integers from 1 to 1000 whose last digit is 3, but which are not divisible by 3. Attach your java program and screen capture output. (10 Points)

 

 

 

3. Implement the following a Phone Address Book using the Array List data structure. The Phone Book should do the following: Add Name and Phone Number to Address Book, Edit Name and Phone Number, Delete an Entry, Display all Names and Phone numbers in the Address Book. Attach your Java Programs and Screen capture of each of the runs requested. (10 points)

 

 

 

4.Write a Java Program which prints out all 92 solutions of the 8-Queen Problem, but modify the program to display only those solutions which are not on the 4th row or 5th column of the 8×8 matrix. Attach your Java Program and Screen Capture of the runs. (10 points)

 

 

 

5. Write a Java Program which implements a Stack of Integers. An Integer should only be pushed into the stack if it is even or contains the number 7. Now pop all integers that contain 5 or 9. Do this for the first 100 numbers. Print out the numbers remaining in the stack after the Pop operation. Attach your Java Program and Screen Capture of the runs. (10 points)

 

Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.
vulkan vegas, vulkan casino, vulkan vegas casino, vulkan vegas login, vulkan vegas deutschland, vulkan vegas bonus code, vulkan vegas promo code, vulkan vegas österreich, vulkan vegas erfahrung, vulkan vegas bonus code 50 freispiele, 1win, 1 win, 1win az, 1win giriş, 1win aviator, 1 win az, 1win azerbaycan, 1win yukle, pin up, pinup, pin up casino, pin-up, pinup az, pin-up casino giriş, pin-up casino, pin-up kazino, pin up azerbaycan, pin up az, mostbet, mostbet uz, mostbet skachat, mostbet apk, mostbet uz kirish, mostbet online, mostbet casino, mostbet o'ynash, mostbet uz online, most bet, mostbet, mostbet az, mostbet giriş, mostbet yukle, mostbet indir, mostbet aviator, mostbet casino, mostbet azerbaycan, mostbet yükle, mostbet qeydiyyat
×

Contact Us on WhatsApp

× How can I help you?