Færdiggjort

Java program to print divisors of a number.

Write a Java program that is reading from the keyboard a value between 100 and 700 and is printing on the screen the divisors of the number.

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

Also the program should print the divisors 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

BONUS:

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

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

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

Evner: Java

Se mere: program to find factors of a number, sum of divisors of a number in java, find divisors of a number c++, how to find divisors of a number in c, divisors java while loop, program to find divisors of a number in c, how to find divisors of a number in python, program to find number of divisors of a number, examples java program needs input user, user will input matrix java program example, write java program ask user input scores, sample java program checks user number, java program takes digits number put list, sample java program count occurrences number array, simple java programs print number entered user, write program java calculate display mortgage payment amount user input amount mortgage term mortgage interest rate mortgageuser, write java program will prompt user list prices, java program addition fractional number, java program display phone number, java program print hindi

Om arbejdsgiveren:
( 0 bedømmelser ) Irving, United States

Projekt ID: #17751884

Tildelt til:

bianyunzhi95

I hope to see you in chat. Though I am new to freelancer.com I am an experienced java developer with full-stack knowledge and career. I'm sure I can do this perfectly. Thanks for your kind attention.

$30 USD på 1 dag
(16 bedømmelser)
4.6
kipdev13

Nice to meet you. I have a experience for Java development. I can satisfy your request. Please contact me for more details. Thanks.

$30 USD på 1 dag
(12 bedømmelser)
3.7

6 freelancere byder i gennemsnit $30 på dette job

agragaurav

Hi, I've 15 years of experience, and have authored many books on computer programming, and data structures & algorithms. I routinely help my clients in academic pursuits of higher grades using C++/Java/Python. I bel Flere

$50 USD på 1 dag
(0 bedømmelser)
1.2
aravindho

I can complete this program for you .let me do this project for you

$15 USD på 1 dag
(0 bedømmelser)
0.0
Shonks2work

I am an experienced developer and would do you work precisely and accurately, you wont regret with my work.

$30 USD in 3 dage
(0 bedømmelser)
0.0
alibobo0

this programme it easy for me I can help you this take a littel time contact me I can help you iam always online for helping ...... .

$25 USD på 1 dag
(0 bedømmelser)
0.0