Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This is my pokerhand code in C++ Pokerhand.h PokerHand_test.cpp PokerHand.cpp The code works perfectly, I just have a problem with two pair and full house.
This is my pokerhand code in C++
Pokerhand.h
PokerHand_test.cpp
PokerHand.cpp
The code works perfectly, I just have a problem with two pair and full house. If I enter 2,2,3,3,3 I get full house, but if I put 2,3,3,3,2 I get three of a kind.
Can you please help me? Check which line is not correct.
Picture 9,10 are a sample of the code.
Also, I see an error which I dont know why, could you please help with that too? Thank you so much (last picture)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started