En cours

Write a couple of functions to calculate the probability of dice rolls

I want 2 functions written in C++:

1) Given a number of dice, and the number of sides on those dice calculate the odds of rolling a given number. For example, rolling 2 6-sided dice there is a 2.78% chance of getting a sum of 2, but a 16.67% chance of getting a 7.

2) Given a number of dice, and the number of sides on those dice calculate the odds of rolling a given number or greater. For example, there is a 3/16 chance of rolling a 7 or greater on 2 4-sided dice.

These numbers should be completely accurate, not calculated using approximations. Brute force solutions are also not acceptable.

Source code should be clean, easy to read, and well commented.

A simple command-line program should also be written to test the functions.

Some math references:

[url removed, login to view] (method 3)

[url removed, login to view]

[url removed, login to view]

Compétences : Programmation C++, Architecture Logicielle

Voir plus : www dice com, sum of the solutions, questions on probability, probabilities questions, how can i write a, easy probability questions, c how to program solutions, can 0 be a probability, calculate and write, calculate aggregate functions, write program will read txt file, write junit test case jboss service, write program java read text files randomly, free logged crap dice rolls, write calculator program will read integers operation, write project test schedule, prototypes functions write, usb write speed test flash, write beta test project report

Concernant l'employeur :
( 8 commentaires ) Greeneville, United States

N° du projet : #8453647

Décerné à :

MohsinAshiq

Sir i have an A in probability and A in programming. and that is a really simple work you need. i can provide you the work in less than an hour time. Just trust me and give me the work with a guarantee that it will be Plus

25 $ USD en 1 jour
(0 Commentaires)
0.0

11 freelance ont fait une offre moyenne de 28 $ pour ce travail

ithuang2014

A proposal has not yet been provided

30 $ USD en 1 jour
(42 Commentaires)
4.3
mahershahmeer

Hi there! I'm a Professional Software developer and Data Analyst for a well known Software House in Islamabad named PacSquare Pvt Ltd. If I get this job, I assure you that you'll get my best services in return. Plea Plus

25 $ USD en 1 jour
(14 Commentaires)
4.0
ig149

Hi C++ Expert here . i have completely understand your project and can do it .............send me a message so that i can start work on it

35 $ USD en 1 jour
(11 Commentaires)
3.6
ARKSolution2015

Dear Hiring Manager, I have 3 year experience in Developing Software and web application.I have been teaching c, cpp, java and data structure at university [url removed, login to view] can check my feedback and my rehire rate. Durin Plus

34 $ USD en 1 jour
(2 Commentaires)
2.3
senergyvw

I have over 5 years of experience in C/C++, the program is really easy to do and I will deliver the result in few hours

20 $ USD en 1 jour
(1 Commentaire)
0.5
PaoloMech

hi! I'm a student of mechatronics engineering. I have already used c and c++ in 3-4 project for my university. Your info are enough to start right now, let me know. Hope to hear you soon! Paolo

29 $ USD en 1 jour
(0 Commentaires)
0.0
IshratFatimaa

Hey, how are you? i just read all your requirements, i'll be able to produce both the functions, along with clean code with proper comments. Secondly about myself, I love designing and have a passion for it, i ha Plus

30 $ USD en 1 jour
(0 Commentaires)
0.0
afnan125

A proposal has not yet been provided

35 $ USD en 3 jours
(0 Commentaires)
0.0
Narcissus37

I am currently enrolled in a BBIT undergraduate course and I know i can do this without letting you down, please give me a chance. Good day.

25 $ USD en 1 jour
(0 Commentaires)
0.0
sohail655l

I will do this in less than a day for 20$. First i will send you a prototype so you can verify the accuracy of program.

20 $ USD en 1 jour
(0 Commentaires)
0.0
BananaSoftware

Hi, I'm Davide. It seems a simple work. I'm offering you a very low price because I'm new on this site. I hope to work for you soon, Davide

15 $ USD en 1 jour
(0 Commentaires)
0.0
renhua

I am C++ Programmer and Algorithm expert. I can help you with your project. Plus

29 $ USD en 1 jour
(0 Commentaires)
0.0
linzy1229

Dice problem is very interested for me. I'm a clean, nice and tidy coder. It's simple task for me. Regards.

9999 $ USD en 1 jour
(0 Commentaires)
0.0
dcorderoch

I have experience programming with C++ and I've even finished some mathematics solving applications in C++ here on freelancer I can deliver original and well formed. commented code, as well as test cases to show tha Plus

30 $ USD en 1 jour
(0 Commentaires)
0.0