Bid Again - Keep Going Until You Say 'n'!

  • MHB
  • Thread starter BJ2017
  • Start date
  • Tags
    Software
In summary, "Bid Again - Keep Going Until You Say 'n'" is a bidding game where players can continue bidding on an item until they choose to stop by saying 'n'. To play, each player takes turns bidding, and the bidding continues until all players except one have said 'n'. If all players say 'n', the last bidder wins the item. Players cannot change their mind and bid again after saying 'n'. This game involves strategic bidding and knowing when to stop to avoid overpaying.
  • #1
BJ2017
1
0
Write an expression that continues to bid until the user enters 'n'.
 
Technology news on Phys.org
  • #2
BJ2017 said:
Write an expression that continues to bid until the user enters 'n'.

What have you tried so far?

Have you learned about while loops?
 

Related to Bid Again - Keep Going Until You Say 'n'!

1. What is "Bid Again - Keep Going Until You Say 'n'"?

"Bid Again - Keep Going Until You Say 'n'" is a bidding game that allows players to continue bidding on an item until they choose to stop by saying 'n'.

2. How do you play "Bid Again - Keep Going Until You Say 'n'"?

To play "Bid Again - Keep Going Until You Say 'n'", each player takes turns bidding on an item, starting at a designated amount. The next player can choose to bid higher or say 'n' to pass. The bidding continues until all players except one have said 'n'.

3. What happens if all players say 'n' in "Bid Again - Keep Going Until You Say 'n'"?

If all players say 'n', the last bidder wins the item and pays the final amount they bid. If no one bids, the item remains unclaimed.

4. Can players change their mind and bid again after saying 'n' in "Bid Again - Keep Going Until You Say 'n'"?

No, once a player says 'n', they cannot change their mind and bid again. They are out of the bidding for that round.

5. Is "Bid Again - Keep Going Until You Say 'n'" a strategy game?

Yes, "Bid Again - Keep Going Until You Say 'n'" involves strategic bidding and knowing when to stop bidding to avoid overpaying for an item.

Similar threads

  • Programming and Computer Science
Replies
1
Views
11K
  • Programming and Computer Science
Replies
8
Views
2K
  • Programming and Computer Science
Replies
15
Views
3K
  • Programming and Computer Science
Replies
14
Views
31K
Replies
9
Views
1K
  • Programming and Computer Science
Replies
15
Views
2K
  • Programming and Computer Science
Replies
6
Views
1K
Replies
10
Views
1K
  • Programming and Computer Science
Replies
1
Views
4K
  • Programming and Computer Science
Replies
2
Views
2K
Back
Top