Algorithm for determining who won rock paper scissors game, Data Structure & Algorithms

Suppose you are given the results of 5 games of rock-paper-scissors. The results are given to you on separate pieces of paper; each piece says either 'A' if the first person won, or 'B' if his opponent won.  

Write an algorithm, in English, for determining who won the best out of 5 games (person A or person B).

 

Posted Date: 3/20/2013 2:04:19 AM | Location : United States







Related Discussions:- Algorithm for determining who won rock paper scissors game, Assignment Help, Ask Question on Algorithm for determining who won rock paper scissors game, Get Answer, Expert's Help, Algorithm for determining who won rock paper scissors game Discussions

Write discussion on Algorithm for determining who won rock paper scissors game
Your posts are moderated
Related Questions
Advantages of First in First out (FIFO) Costing Advantages claimed for first in first  out (FIFO)  costing method are: 1. Materials used are drawn from the cost record in

Explain Internal and External Nodes  To  draw  the  tree's  extension  by  changing  the  empty  subtrees  by  special nodes. The  extra  nodes shown by little squares are know

sdsd.

Assume you are in the insurance business. Find two examples of Type 2 slowly changing dimensions in that business. As an analyst on the project, write the specifications for applyi

Define neotaxonomy. Discuss how electron microscopy can help in solving a zoological problem faced by taxonomist.

algorithm to search a node in linked list

Write an algorithm for compound interest.

Arrays :- To execute a stack we need a variable called top, that holds the index of the top element of stack and an array to hold the part of the stack.

Algorithm for deletion of any element from the circular queue: Step-1: If queue is empty then say "queue is empty" & quit; else continue Step-2: Delete the "front" element

WRITE AN ALGORITHM TO CONVERT PARENTHIZED INFIX TO POSTFIX FORM ALSO TRACE ALG ON ((A+B)*C-(D-E)$F+G)