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

  Program in c# that simulates the operation of the turtle

Write a program in C# that simulates the operation of the turtle and implements a computerized sketchpad. Write several turtle graphics programs that draw interesting shapes to use for testing your program.

  Write code for invoking method named sendtwo

Write the code for invoking a method named sendTwo. There are two arguments for this method: a double and an int.

  Write program to display companys payroll report in list box

Write down the program to display companys payroll report in list box. Program must read each employee's name, hourly rate, and hours worked from file and produce report.

  Write a program that reads in investment amount

Write a program that reads in investment amount, annual interest rate, and number of years, and displays the future investment value

  Employee wage data application

A small company is moving all its employee data to a computer. To make a smooth transition, a software program will permit the data entry personnel to enter data into a file. Design a program that writes the employees.dat file

  Define function that takes year as it-s input argument

Define and call a function fast_food_billions that takes the year as it's input argument and returns the prediction as it's result. Tell the user that entry of a year before 2005 will cause the program to stop.

  Write a program that will keep track of golf handicaps.

Write a program that will keep track of golf handicaps. To find a player's handicap, you will need to know the player's score, the course rating and the course slope.

  My goal is to write down a php database application with a

my goal is to write a php database application with a gui that will display and update information on a remote database

  Create an xml document that marks up nutrition facts

Create an XML document that marks up the nutrition facts for a package of Grandma White's cookies. A package of cookies has a serving size of 1 package.

  Draw a gui to create objects

Draw a GUI that will create the objects and provide access to each object's processing methods. Use the drawing tool in Microsoft Word.

  Which of the following is not included in a pseudocode

Which of the following is not included in a pseudocode program?

  Investigate two free and two fee-based options.

Include any personal experience you may have publishing a Web site. Investigate two free and two fee-based options.

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