Write a Java program that can take a positive integer greater than 2 as input and write out the numbers of times one must repeatedly divide this number by 2 before getting a value less than 2.
softtech1011
0
Newbie Poster
Recommended Answers
Jump to PostSounds like home work. Try few lines and then ask for help. No body here is free to do your homework.
All 3 Replies
Majestics
84
Posting Pro
zeroliken
79
Nearly a Posting Virtuoso
stultuske
1,116
Posting Maven
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.