A desktop application using random numbers
- or -
Post a project like this- Posted:
- Proposals: 8
- Remote
- #1304988
- Completed
Description
Description of requirements/functionality: An app using random numbers to display "YES" or "NO"
The program will have five buttons and a display area.
The five buttons will be : '20%', '33%', '50%', '66%, '80%'
When a button is clicked the words YES or NO will be randomly displayed according to the % on the button. So when clicking the 66% button 'YES' will be displayed 66% of the time and 'NO' 34% of the time. this will be randomly generated with each click.
The program should be small enough to fit in the bottom quarter of my screen: about the size of the calculator app in windows.
If the buttons can be customised in the program that would be even better
I am running windows 8
Many thanks for your time.
Alan
OS requirements: Windows
Extra notes:
Alan S.
100% (1)New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Hi John,
I need to know how early random will change. Some one click on 66% our code display "Yes" after this random number change or you want to setup particular time interval after this random no change. -
Hi,
could clarify this point :
So when clicking the 66% button 'YES' will be displayed 66% of the time and 'NO' 34% of the time.
What do you mean by "of the time"? For it to work you should click the 66% button and then YES or NO appears based on the probabilities attached to the button. Which means, when you click the 66% button, you have 6.6 chances out of 10 that it will be YES.
Is this what you need?
Thank you,
LucyAlan S.30 Sep 2016Hi Lucy,
Thanks for your question.
"Which means, when you click the 66% button, you have 6.6 chances out of 10 that it will be YES."
this is correct. The percentages on the buttons are how likely a YES response is generated. they should be generated randomly but 'seeded' according to the percentages displayed.
Thanks,
Alan