Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

How would you go about calling out a player as a liar?

How would you go about calling out a player as a liar? Would you use bool liar = false, and then utilize an if else statement, such as IF(playerDice >= diceBet) {

liar == false;

std::cout << players[ ] << " wins the round!";

}

ELSE {

liar == true;

std::cout << players[ ] << " is a liar! You loose the round.";

}

Here is the code I have thus far:

#include "stdafx.h"

#include <iostream>

#include <ctime> // for time

#include <cstdlib> // for srand and rand

int main()

{

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question