Write a Visual Logic program that simulates rolling two dice a thousand times. Count and display how many times you roll a six on only one of the die.

 

Question 6 (10 pts) Write a Visual Logic program that simulates rolling two dice a thousand times. Count and display how many times you roll a six on only one of the die.

Question 7 (10 pts) Write a Visual Logic program that rolls two dice. Count how many times you roll before you find you have rolled double sixes. Display that value.

Type of paper Academic level Subject area
Number of pages Paper urgency Cost per page:
 Total: