Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

There are N egg baskets and the number of eggs in each
basket is a known quantity. Two players take turns to remove
these eggs from the baskets. On each turn, a player must
remove at least one egg, and may remove any number of eggs
provided they all belong to the same basket. The player
picking the last egg(s) wins the game. If you are allowed to
decide who is going to start first, what mathematical
function would you use to decide so that you end up on the
winning side?

Upload a C program to demonstrate the behaviour of the game.

Answer Posted / guest

does each basket have the same number of eggs?

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are local static variables? How can you use them?

1129


What is equivalent to ++i+++j?

1077


What is the scope of static variable in c?

1003


What is the usage of the pointer in c?

1095


What is double pointer in c?

1026


How can I read data from data files with particular formats?

1028


Explain what are the standard predefined macros?

1101


Can a local variable be volatile in c?

980


Write a program in c to replace any vowel in a string with z?

1099


How to delete a node from linked list w/o using collectons?

2767


How will you write a code for accessing the length of an array without assigning it to another variable?

1033


What do you mean by Recursion Function?

1107


What is a substring in c?

1023


What are the types of i/o functions?

1321


how many errors in c explain deply

2075