Question

I need help with calculating the probability using C++ . Saying that I'm only dealing with...

I need help with calculating the probability using C++ . Saying that I'm only dealing with 2 cards . For example, if my cards are 5 & 6 what is the probablity of me going to bust ? knowing that there are 4 jacks,4 kings and queen left . I understand the concept but I don't know how to program it .

0 0
Add a comment Improve this question Transcribed image text
Request Professional Answer

Request Answer!

We need at least 10 more requests to produce the answer.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the answer will be notified once they are available.
Know the answer?
Add Answer to:
I need help with calculating the probability using C++ . Saying that I'm only dealing with...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Similar Homework Help Questions
  • Hi, I need help understanding a concept in my Assembly Language (MIPS) class. Can someone please...

    Hi, I need help understanding a concept in my Assembly Language (MIPS) class. Can someone please explain the following to me: 3) Implementing Control Structures – Know how to write if-then or if-then-else equivalent statements in assembly as well as loops. This is a concept that is going to be asked on my exam. There's no real solution to this question, but I will rate whomever helps me understand this material. An example would be GREATLY appreciated.

  • IMPORTANT: I don't need help with "a". However, I do need help with b&c IMPORTANT: I...

    IMPORTANT: I don't need help with "a". However, I do need help with b&c IMPORTANT: I understand that there's a walkthrough given bellow. However, I do not understand the walkthrough given for b&c. Part B - Why does E(x)+E(y)=2u (2 mew)? -What is this?: I honestly have no idea what it is. Please explain to me what it is and what its significance is within the problem. -This may be the same thing as the symbol above, but just in...

  • I don't need help calculating the integrals but I'm unsure of how to go about figuring out how to...

    I don't need help calculating the integrals but I'm unsure of how to go about figuring out how to rewrite the integral. Caleulate the triple integral rewrite the integral in tbe order pprupriale limits. illing in the o's with the a Confirm your auswer by calculating botb itegrals Caleulate the triple integral rewrite the integral in tbe order pprupriale limits. illing in the o's with the a Confirm your auswer by calculating botb itegrals

  • I'm in serious need of help. I worked on the Qualitative Analysis of Cations Lab, Groups...

    I'm in serious need of help. I worked on the Qualitative Analysis of Cations Lab, Groups I and II. For group I, the possible Ions in a solution were Ag+1, Pb+2, Hg2+2. I was able to sucessfully percipitate out and confirm the presense of Silver. For Group II, the possible Ions were Hg2+, PB2+, Bi2+, Cu2+. The problem is I should have percipitated out three Cations and only found one. I know with certainty that I did not have Mercury...

  • I need help and I'm stuck on this program. I have to do it in the...

    I need help and I'm stuck on this program. I have to do it in the C language on my Linux system. Can someone help me with this please? I have included my instructions and sample output. Thank you -Initialize 2 arrays within the main method, one with odd numbers and one with even numbers. -In the main method swap the arrays. -Print the arrays before and after the swap. //output should look like the following Before Swap firstArray[0] =...

  • I need help writing the helper function find() and removeAll(). I'm pretty sure i have find...

    I need help writing the helper function find() and removeAll(). I'm pretty sure i have find wrong. please help me! I included the top portion of my code so you get an idea of whats going going. on Java language someone asked structure of list node too? i dont know what they mean public class LinkedIntList public ListNode front; // first value in the list // post: constructs an empty list public LinkedIntList( front null; e public LinkedIntList(int[l arri this);...

  • I need this code to be written in C language. Also, I'm using Xcode on mac...

    I need this code to be written in C language. Also, I'm using Xcode on mac so I need the steps in order to know how to do it. Please save the program with the name 'files.c' Write a program that merges two files as follows. The two files are in the docsharing which you can download it. One file will contain usernames (usernames.txt): foster001 smith023 nyuyen002 The other file will contain passwords (passwords.txt): x34rdf3e P43e4rdd w32eds22 The program should...

  • Hello, I need help implementing a program in f# for an example problem: "Suppose that the tuition...

    Hello, I need help implementing a program in f# for an example problem: "Suppose that the tuition for a university is $10,000 this year and increases 5% every year. In one year, the tuition will be $10,500. Write a program that displays the tuition in 10 years and the total cost of 4 years’ worth of tuition starting after the 10th year." I don't have a lot of experience with functional programming languages. Can someone show me how to go...

  • I need help to calculate the sum of this, i just don't know how...... file_name =...

    I need help to calculate the sum of this, i just don't know how...... file_name = input("What is the value-probability file? ")     with open(file_name , "r") as final:         for numbers in final:             split_function = numbers.split()             num_one = float(split_function[0])             num_two = float(split_function[1])             final = num_one * num_two             final_line = final So when my code runs the output looks like this : What is the value-probability file? hw3_part2_test1.txt -0.567032 -17.630715000000002 3.194056 4.398823 13.990935 I need all these numbers now to add to...

  • Card Game Simulation(in Python 3.8.1) The purpose of this assignment is to help you gain experience...

    Card Game Simulation(in Python 3.8.1) The purpose of this assignment is to help you gain experience using while loops to solve problems. For this assignment, you will simulate a simplified card game that has some similarity to the game of 21. At the start of the program, the user will be asked to supply both the winning score (an integer from 1 thru 21) and the number of times to run the simulation (an integer from 100 to 100,000). To...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT