How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask LogicPro Your Own Question
LogicPro
LogicPro, Engineer
Category: Homework
Satisfied Customers: 12867
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
29751445
Type Your Homework Question Here...
LogicPro is online now
A new question is answered every 9 seconds

Here is the homework question: It has been said that a

Customer Question

Here is the homework question: It has been said that a monkey pushing keys at random on a keyboard could produce the works of Shakespeare, given enough time. One can simulate this by having a Java program select and display letters at random. Count the
number of letters typed until the program produces one of these two-letter words: at, is, he, we, up or on. When one of these words is produced, stop the program and display the total number of letters typed. Use Math.random and format the output 40 characters
per line.
Submitted: 1 year ago.
Category: Homework
Expert:  LogicPro replied 1 year ago.

Hi,

Welcome

Thank you for asking me. Hope you are doing well.

What is the deadline?

Customer: replied 1 year ago.
I would need it by 10-16-15
Expert:  LogicPro replied 1 year ago.

Please wait

Customer: replied 1 year ago.
Please wait for what?
Expert:  LogicPro replied 1 year ago.

For answer. Working on it.

Expert:  LogicPro replied 1 year ago.

You there?

Expert:  LogicPro replied 1 year ago.

Here is working code:

http://pastebin.com/raw.php?i=YY2UtQR5

Shakespeare.java

We can continue the conversation until you're satisfied and rate my answer as excellent to credit me. I can address follow up questions and I'm always here to help.

You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant answers. It will ensure that question is for me.

Please bookmark my profile page:

http://www.justanswer.com/homework/expert-logicpro/

so you can come back and ask me a question anytime.

Thank you for using this site!

Useful resources:

https://ww2-secure.justanswer.com/help/do-i-have-rate-answer

http://ww2.justanswer.com/help/how-do-i-rate-answer-hl

Expert:  LogicPro replied 1 year ago.

You got it?

Expert:  LogicPro replied 1 year ago.

Hi again,

Just following up with you to see how everything is going and if you have more questions for me.

We can continue the conversation until you're satisfied and rate my answer as excellent. I can address follow up questions and I'm always here to help.

You can ask me again using "For LogicPro only" at the start of your questions like you do to get instant answers.

It will ensure that question is for me.

Please bookmark my profile page:

http://www.justanswer.com/homework/expert-logicpro/

so you can come back and ask me a question anytime.

If you need any additional information on this answer, please don't hesitate to ask by clicking on 'Reply to Expert', and I will reply as soon as possible.

I hope you found the information in my answer helpful, and if so, please let me know, here. Thank you!

Thanks very much for using Just Answer!

Best wishes

LogicPro

https://ww2-secure.justanswer.com/help/do-i-have-rate-answer

http://ww2.justanswer.com/help/how-do-i-rate-answer-hl

Expert:  LogicPro replied 1 year ago.

Hi again,

Just following up with you to see how everything is going and if you have more questions for me.

We can continue the conversation until you're satisfied and rate my answer as excellent to credit me. I can address follow up questions and I'm always here to help.

You can ask me again using "For LogicPro only" at the start of your questions like you do to get instant answers.

It will ensure that question is for me.

Please bookmark my profile page:

http://www.justanswer.com/homework/expert-logicpro/

so you can come back and ask me a question anytime.

If you need any additional information on this answer, please don't hesitate to ask by clicking on 'Reply to Expert', and I will reply as soon as possible.

I hope you found the information in my answer helpful, and if so, please let me know, here. Thank you!

Thanks very much for using Just Answer!

Best wishes

LogicPro

https://ww2-secure.justanswer.com/help/do-i-have-rate-answer

http://ww2.justanswer.com/help/how-do-i-rate-answer-hl

Expert:  LogicPro replied 1 year ago.

Hi again,

Please read:

https://ww2-secure.justanswer.com/help/do-i-have-rate-answer

http://ww2.justanswer.com/help/how-do-i-rate-answer-hl

Just following up with you to see how everything is going and if you have more questions for me.

We can continue the conversation until you're satisfied and rate my answer as excellent to credit me. I can address follow up questions and I'm always here to help.

You can ask me again using "For LogicPro only" at the start of your questions like you do to get instant answers.

It will ensure that question is for me.

Please bookmark my profile page:

http://www.justanswer.com/homework/expert-logicpro/

so you can come back and ask me a question anytime.

If you need any additional information on this answer, please don't hesitate to ask by clicking on 'Reply to Expert', and I will reply as soon as possible.

I hope you found the information in my answer helpful, and if so, please let me know, here. Thank you!

Thanks very much for using Just Answer!

Best wishes

LogicPro

Expert:  LogicPro replied 1 year ago.

Please read:

https://ww2-secure.justanswer.com/help/do-i-have-rate-answer

http://ww2.justanswer.com/help/how-do-i-rate-answer-hl

We can continue the conversation until you're satisfied and rate my answer as excellent to credit me. I can address follow up questions and I'm always here to help.

You can ask me again using "For LogicPro only" at the start of your questions like other customers to get instant answers. It will ensure that question is for me.

Please bookmark my profile page:

http://www.justanswer.com/homework/expert-logicpro/

so you can come back and ask me a question anytime.

Thank you for using this site!

LogicPro

Expert:  LogicPro replied 1 year ago.
THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.

Related Homework Questions