answersLogoWhite

0


Best Answer

throw away 10 of them

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can you turn 11 matchsticks into 1 mathcstick?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Write a program for a matchstick game being played between the computer and a user What if your program should ensure that the computer always wins Rules for the game are as follows?

-There are 21 matchsticks.-Whoever is forced to pick up the last matchstick loses the game.So the last one is special, so it's all about how to get rid of 20 matches in pairs of turns.-The computer asks the player to pick 1, 2, 3 or 4 matchsticks.So if we reduce the total by 5 each round, the sequence will go21 16 11 6 1In effect, whatever number the user picks (n), the computer picks 5-n'''#include'''main()'''{''''''int matchsticks=21, user, computer;printf("Do not enter Invalid Numbers.\nNumbers above 4 are invalid.");printf("\nIf you do so, the computer automatically wins.");'''while (matchsticks>=1)'''{'''printf("\nNumber of matchsticks available right now is %d.", matchsticks);printf("\n\nYour Turn...\n\n\n");printf("\nPick up the matchstick(s)-- (1-4): ");scanf ("%d", &user);'''if (user>4)'''{'''printf("Invalid Selection");'''break;'''}'''computer=5-user;printf("\nComputer's Turn..\n" );printf("\nComputer chooses:%d", computer);matchsticks=matchsticks-user-computer;'''continue;'''if(matchsticks==1)'''break;'''}'''matchsticks--;printf("\nComputer Wins");'''}''''''''''''''''''''''''


How do you turn 5 into 11ths?

1 = 11/11 multiply by 5 which is 5/1 1 x 5/1 = 5/1 = 11/11 x 5/1 = 55/11


What number is made by 30 matchsticks?

30 110000000 4 sticks in each 0 and one in 1


What are the ratings and certificates for Californication - 2007 Turn the Page 1-11?

Californication - 2007 Turn the Page 1-11 is rated/received certificates of: USA:TV-MA


What are the release dates for 7th Heaven - 1996 Turn Turn Turn 11-1?

7th Heaven - 1996 Turn Turn Turn 11-1 was released on: USA: 25 September 2006 Sweden: 18 March 2007 Germany: 11 October 2007 Mexico: 10 November 2007 Hungary: 31 January 2008


Write a matchstick program to be played between a computer and the user but the computer must win the game?

The Matchstick program below uses the following rules: - Starts with 21 matchsticks - each player must remove 1 - 4 matchsticks - The player who takes the last stick loses. The algorithm is this: To always win you must: - Let your opponent go first. - on your turn, take enough sticks that your take plus your opponent's take equal 5 sticks. This program is written in Java, and uses the above algorithm: import java.io.InputStreamReader; import java.io.BufferedReader; import java.io.InputStream; public class Matchstick { static int sticksLeft = 21; public static void main(String[] args) { String input; int humanChoice; int computerChoice; BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); System.out.println("Welcome To Matchsticks\n\n" + "The Rules:\n" + " - There are 21 Matchsticks\n" + " - Each player takes 1, 2, 3, or 4 matchsticks on their turn\n" + " - The person who takes the last matchstick loses the game\n\n" + "The computer has graciously let you pick first"); do { try { System.out.print("How many sticks do you take: "); System.out.flush(); input = in.readLine(); humanChoice = Integer.parseInt(input); if (humanChoice > 4 humanChoice < 1) { System.out.println("Please choose a number between 1 and 4\n"); } else { sticksLeft = sticksLeft - humanChoice; System.out.println("You chose to remove " + humanChoice + " Matchsticks. There are " + sticksLeft + " Matchsticks Left"); computerChoice = 5 - humanChoice; sticksLeft = sticksLeft - computerChoice; System.out.println("I chose to remove " + computerChoice + " Matchsticks. There's " + sticksLeft + " Matchstick(s) Left\n"); } } catch (Exception e) { System.out.println("Please enter a numeric value\n"); } } while (sticksLeft != 1); System.out.println("You take the last Matchstick, The computer wins!"); System.exit(0); } }


When you regroup does 1 turn into 10 or 11?

10


How do you turn 11.125 into a mixed fraction?

11 and 1/8


What is the reciprocal of 9 elevenths?

To find the reciprocal of a fraction turn it upside down: 1/(9/11) = 11/9 = 1 2/9


How do you turn 11 over 16 into a decimal?

If you know that the decimal equivalent of 1/16 is 0.0625 (1/8 is 0.125), then just multiply that by 11 and you get 0.6875.


By using matchsticks move one matchstick to make the statement in Roman numerals true that 7 equals 1?

Move the top horizontal matchstick of the letter "V" to the left, creating the letter "I." This way, the statement "7 = 1" can be represented in Roman numerals as "I = I."


What chapter and verse did jesus turn water into wine at a wedding?

John 2:1-11