answersLogoWhite

0


Want this question answered?

Be notified when an answer is posted

Add your answer:

Earn +20 pts
Q: How do I create a program that generates a random number between 1 and 100 your program should determine how many tries it takes to randomly generate the same random number?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between an alternator and a generater?

A generator generates Direct current electricity An Alternator generate alternating current In a car this current is run through rectifiers or diodes to convert it into DC.


How does the muscular system generate heat?

This isn't a very good answer, but I pretty sure it doesn't. Only Wiki says it does, but there is no proof. So don't coun't on wiki for an answer. You won't regret it.


Which function is used to randomize number in Excel?

There is a RAND function which can generate random numbers. The RANDBETWEEN function can generate numbers between a lower and upper limit.There is a RAND function which can generate random numbers. The RANDBETWEEN function can generate numbers between a lower and upper limit.There is a RAND function which can generate random numbers. The RANDBETWEEN function can generate numbers between a lower and upper limit.There is a RAND function which can generate random numbers. The RANDBETWEEN function can generate numbers between a lower and upper limit.There is a RAND function which can generate random numbers. The RANDBETWEEN function can generate numbers between a lower and upper limit.There is a RAND function which can generate random numbers. The RANDBETWEEN function can generate numbers between a lower and upper limit.There is a RAND function which can generate random numbers. The RANDBETWEEN function can generate numbers between a lower and upper limit.There is a RAND function which can generate random numbers. The RANDBETWEEN function can generate numbers between a lower and upper limit.There is a RAND function which can generate random numbers. The RANDBETWEEN function can generate numbers between a lower and upper limit.There is a RAND function which can generate random numbers. The RANDBETWEEN function can generate numbers between a lower and upper limit.There is a RAND function which can generate random numbers. The RANDBETWEEN function can generate numbers between a lower and upper limit.


What is the difference between an alternator and a stator?

An alternator is a device that generates power for an automobile to run its electrical loads and to charge the battery. A stator is one of the internal parts of the alternator, specifically the stationary windings that generate the 3-phase AC.


What is a randbetween in a spreadsheet?

Randbetween allows you to generate random numbers with a range. You specify the lowest and highest that you want the number to be between. So if you wanted to generate a random number between 1 and 100, you would enter: =RANDBETWEEN(1,100) If you wanted to generate a random number between 25 and 60, you would enter: =RANDBETWEEN(25,60) The function will generate a new random number every time you make a change to the spreadsheet or press the F9 key. So if you want to retain the random numbers it generates, you could copy them and then do a Paste Special and choose Values. You could paste this on top of the original values or in a new location.


What is the difference between MW th and MW e?

MWe and MWt are units for measuring the output of a power plant. MWe means megawatts of electrical output, and MWt means megawatts of thermal output. For example, a nuclear power plant might use a fission reactor to generate heat (thermal output) which creates steam to drive a turbine to generate electricity (electrical output). A reactor that generates 200 MWt (50 MWe), and another reactor that generates 800 MWt (200 MWe).


Draw a flowchart to generate odd numbers between 100?

Draw a flowchart to generate odd numbers between 100?


What links are there between electricity and magnetism?

An AC/DC voltage that flows through a coil with a steel bar inside of it generates a powerful magnetism, depending on the voltage applied, the number of spire, the section of the wire. Transformers require AC to generate electromagnetic induction.


A scientist is trying to determine the relationship between clams snails and squid. When she generates a molecular clock she is surprised to see that clams and squid are more closely related than c?

A scientist is trying to determine the relationship between clams, snails, and squid. When she generates a molecular clock, she is surprised to see that clams and squid are more closely related than clams and snails. Which did the molecular clock data show?


What is corporate parenting?

Views a corporation in terms of resources and capabilities that can be used to build business unit value as well as generate synergies across business units Generates corporate strategy by focusing on the core competencies of the parent corporation and the value created from the relationship between the parent and its businesses


What is called the difference between the value that an activity generates and the cost of the activity?

revenue


Which way will the torque tend to rotate the runner?

The frictional force between the feet and the ground needs to generate the centripetal acceleration to keep the runner on a circular track. However, since this force is not acting at the center of gravity, it generates a net torque around the center of gravity. As a result, the runner can readily become unbalanced.