Using a loop to perform operations multiple times

Assignment Help Programming Languages
Reference no: EM13952928

This is a program that I am working on. It is supposed to simulate the roll of a pair of dice 100 times, then write the results to a file.

Once the file is written, the user clicks the read file button to read the file. I have the write file/roll dice button working. I have the read file working, it displays the results in a textbox.

What I need help with is to get the dice to roll 100 times instead of just one. So the read file results will show the results of 100 rolls of the dice.

The file tab also has instructions as to how the program should work.

Attachment:- Dice 3.zip

Reference no: EM13952928

Questions Cloud

Current profit margins-current cost of benefits : Note that not all of the specifics about the possible acquisition have been given, such as the cost of the acquisition, the number of hotels and employees, the current profit margins, the current cost of benefits as a percentage of total labor cos..
Importance of physician-patient communication : The Importance of Physician-Patient Communication-Explain how miscommunication in physician-patient interaction might impact recovery of a patient
Write a counter-controlled loop to initialize values : In the boy of the loop, I need to multiply the value of the loop control variable by 10 and by 100, then I need to change the value of the loop control variable in the body of the loop.
What is the probability that a sample mean would fall below : Assume the data are normally distributed and normalize the sample mean. What is the probability that a sample mean would fall below 24 days based on this normalized statistic t where the actual standard deviation is unknown and the sample estimate..
Using a loop to perform operations multiple times : What I need help with is to get the dice to roll 100 times instead of just one. So the read file results will show the results of 100 rolls of the dice
When are the values for t and z almost identical : Assume that a distribution of data is normally distributed. For a sample size n = 7, by using a sample mean, which distribution would you employ (t or Z) to make an inference about a population?
How would prison sentencing or the death penalty be affected : If people accepted that all evil is ignorance, what implications would that have on the justice system? How would prison sentencing or the death penalty be affected
When would you use the standard error of the mean : Describe the difference between the distribution of the observed sample values from a population and the distribution of means calculated from samples of size n.
Create a visual studio 2008 asp .net web site with web form : The Web Form consists of two parts. The first part is typical ASP .NET containing a RadioButtonList server control, Label server control and Button server control

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a program that decides if a number x is in the matrix

Write a program that decides if a number X is in the matrix. Let the user enter the size of the matrix n, the content, and the number X to search. Display the result of your search in the screen. While testing your program for submission, make sur..

  Use switch statement to display roman numeral version

Use a switch statement to display the Roman numeral version of that number. Input Validation: Do not accept a number less than 1 or greater than 10.

  Write a program that instantiates four sphere objects

Write a program that instantiates four sphere objects (assigning a radius to each instance) and adds them to a pointer-based linked list. Include a function to display the statistics of each sphere in the list.

  Application to simulate functionality of gas-visual basic

Design the application which simulates functionality of gas pump. User enters number of gallons to buy and clicks desired grade (regular special super). Using Visual Basic.

  Does the standard output of this script get sent to stdout

Is the visible output of this script, the text 'Hello'?

  Explain the program

The council suggest that at most 30% of the calories in our diet come from fat.

  Write program to reads student-s name together with score

Write a program that reads a student's name together with his or her test score. The program should then compute the average test score for each student.

  Creating application to test class rectangle

Write down application to test class Rectangle.

  Write program to accept data for each student

Write a program that accepts data for each student in the school - Student ID, classroom number, and score on the achievement test. Design a program that lists the total points scored for each of the 30 classrooms.

  Write program to ask user for low and high integer

Write a program that asks the user for the low and high integer in a range of integers. The program then asks the user for integers to be added up.

  Prompt input function

You have no guarantees about the accuracy of the input from the user. You have to check all input and give helpful error messages to assist the user.

  Program should prompt the user at the beginning

The program should prompt the user at the beginning for the number of different milk quantities to evaluate in this one run of the program.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd