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 ATLPROG Your Own Question
ATLPROG
ATLPROG, Computer Software Engineer
Category: Programming
Satisfied Customers: 9151
Experience:  MS in IT.Several years of programming experience in Java C++ C C# Python VB Javascript HTML
44910485
Type Your Programming Question Here...
ATLPROG is online now
A new question is answered every 9 seconds

Write a program in C# XXXXX simulates the roll of two dice.

This answer was rated:

Write a program in C# XXXXX simulates the roll of two dice. Roll the dice 100 times and display how many twos, threes, fours, fives, sixes, sevens, eights, nines, tens, elevens, and twelves were thrown using a switch statement. Display the results in a MessageBox.

ATLPROG :

Hi

ATLPROG :

I will have this ready for you soon

ATLPROG :

Can you please confirm if its ok to make use of arrays

Customer:

hello,

ATLPROG :

hi

Customer:

hello, no arrays. I have to use two methods. GenerateRandomNumbers & DisplayResults and use a switch statement in GenerateRandomNumbers. Thank you.

ATLPROG :

ok

ATLPROG :

Will you be around for 30 mins

Customer:

ok thank you.

ATLPROG :

thanks

ATLPROG :

Do you have any document that has the complete text of the assignment

Customer:

Write a program that simulates the roll of two dice. Roll the dice 100 times and display how many twos, threes, fours, fives, sixes, sevens, eights, nines, tens, elevens, and twelves were thrown. Display the results in a MessageBox. Put all the logic in methods. I had 2 methods in my program: GenerateRandomNumbers and DisplayResults. Use a switch statement in GenerateRandomNumbers.

ATLPROG :

ok

ATLPROG :

Are you allowed to make use of Form level variables

ATLPROG :

or should all the variables be local method level variables

ATLPROG :

cool that helps a lot

Customer:

okay.

ATLPROG :

ok

ATLPROG :


Hello. I have this answer ready for you, Let me know when you are online and I will post the Answer.

Customer:

I'm on online

ATLPROG :

Answer Link

ATLPROG :

Please let me know once you have it

ATLPROG :

Please remember to accept if it looks ok

Customer:

okay but the link does not open.

ATLPROG :

let me upload again

ATLPROG :

Please paste this in a new browser window

ATLPROG :

http://ge.tt/9xldpEA?c

ATLPROG :

Did that work?

Customer:

Yes ATLPROG, Thank you very much.

ATLPROG and other Programming Specialists are ready to help you
Please feel free to ask me (by starting question with "For ATLProg Only") for your next question.
If you’re a subscriber,you can do so at no additional cost beyond your monthly payment.
Please bookmark my profile page http://www.justanswer.com/computer/expert-atlprog/ so you can comeback and ask me a question anytime.
Please start your question text with "For ATLProg Only" to request me again, next time you need help!