Chat with us, powered by LiveChat a. Write a Java program that is reading from the keyboard a value between 111 and?900 and is printing on the scree | WriteDen

a. Write a Java program that is reading from the keyboard a value between 111 and?900 and is printing on the scree

 

a. Write a Java program that is reading from the keyboard a value between 111 and 900 and is printing on the screen the prime factors of the number.

Your program should use a cycle for validating the input (if the value typed from the keyboard is less than 111 or bigger than 900 to print an error and ask the user to input another value).

Also the program should print the prime factors in the order from smallest to biggest. 

For example,

for the value 128 the program should print 128=2*2*2*2*2*2*2 

for the value 122 the program should print: 122=2*61

b. change the program at a. to print one time a prime factor but provide the power of that factor:

for the value 128 the program should print 128=2^7

for the value 122 the program should print: 122=2^1*61^1

    HOW OUR WEBSITE WORKS

    Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of 
    HIGH QUALITY & PLAGIARISM FREE.

    Step 1

    To make an Order you only need to click ORDER NOW and we will direct you to our Order Page at WriteDen. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
     Deadline range from 6 hours to 30 days.

    Step 2

    Once done with writing your paper we will upload it to your account on our website and also forward a copy to your email.

    Step 3
    Upon receiving your paper, review it and if any changes are needed contact us immediately. We offer unlimited revisions at no extra cost.

    Is it Safe to use our services?
    We never resell papers on this site. Meaning after your purchase you will get an original copy of your assignment and you have all the rights to use the paper.

    Discounts

    Our price ranges from $8-$14 per page. If you are short of Budget, contact our Live Support for a Discount Code. All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.

    Please note we do not have prewritten answers. We need some time to prepare a perfect essay for you.