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 haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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