Saved | Lost | ||
First Class |
Men | 57 | 116 |
Women | 140 | 4 | |
Children | 6 | 1 | |
Second Class | Men | 14 | 135 |
Women | 80 | 24 | |
Children | 24 | 0 | |
Third Class |
Men | 72 | 385 |
Women | 74 | 88 | |
Children | 32 | 57 | |
Crew & Employees | Women | 20 | 0 |
Men | 192 | 685 |
Given a survivor of the Titanic is a man. what is the probability, rounded to the nearest whole percent, the survivor was a second class passenger (based on the data above)
Total Survivor Man = 57 + 14 + 72 + 192 = 335
P(Survivor Second Class/Survivor Man) = P(Survivor Second class AND Survivor Man)/P(Survivor Man)
= 14/335 =0.0418
So,
Answer is:
0.0418
Saved Lost First Class Men 57 116 Women 140 4 Children 6 1 Second Class Men...
Given a survivor of the Titanic is a man, what is the probability, rounded to the nearest whole percent, the survivor was a second class passenger based on Titanic survival data below Saved Lost First Class Men 57 116 Women 140 4 Children 6 1 Second Class Men 14 135 Women 80 24 Children 24 0 Third Class Men 72 385 Women 74 88 Children 32 57 Crew & Employees Women 20 0 Men 192 685
I have written my code for an employee management system that stores Employee class objects into a vector, I am getting no errors until I try and compile, I am getting the error: C2679 binary '==': no operator found which takes a right-hand operand of type 'const std::string' (or there is no acceptable conversion). But I am not sure why any help would be great, Thank you! 1 2 3 4 5 6 7 8 9 10 11 12 13...
so i have my c++ code and ive been working on this for hours
but i cant get it to run im not allowed to use arrays. im not sure
how to fix it thank you for the help
our job is to write a menu driven program that can convert to display Morse Code ere is the menu the program should display Menu Alphabet Initials N-Numbers - Punctuations S = User Sentence Q- Quit Enter command the user chooses...
Question Help regarding the new mache o e Heavenly Candy Company is considering purchasing a second chocolate dipping machine in order to expand their business. The information Heavenly has com BB Cack the icon to view the information) Present Value of $1 table Present Value of Annuity of $1 table Future Value of $1 table Future Value of Anuty of table Read the requirements Requirement 1. Calculate the following for the new machine: a. Net present value (NPV) (Use factors...
okay so here is my c++ code and the errors im really stuck on
fixing what i did wrong it seems to be the same repeated
error
our job is to write a menu driven program that can convert to display Morse Code ere is the menu the program should display Menu Alphabet Initials N-Numbers - Punctuations S = User Sentence Q- Quit Enter command the user chooses A your program should use a loop and your morse code printing...
As you know from Project 4, McCormick & Company is
considering building a new factory in Largo, Maryland. McCormick
& Company decided to offer $4,424,000 to obtain the land for
this project. The new factory will require an initial investment of
$350 million to build the new plant and purchase equipment.
You have been asked to continue your work from project 4 with a
full analysis of the proposed factory, including the start-up
costs, the projected net cash flows from...