simple java question

Suppose you have a rope 100 feet in length.
Each time ½ the length of the rope has been cut off. For example, the first time, the length of rope has 50 feet left after the first time cut off, 25 feet after the second cut off…and so on.
Write a program, that prompts a user to enter n times cut, for example, cut times n=10. Check the validity and rationality of user input data. The input has to be a positive integer number.
Results should display

The length of the rope remaining after each cut.
The sum of the cut length.

Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount! Use Discount Code “Newclient” for a 15% Discount!NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.

The post simple java question appeared first on My Nursing Experts.

Rate this post
"Is this question part of your assignment? We will write the assignment for you. click order now and get up to 40% Discount"