jeweet och

jeweet och

  • NA
  • 7
  • 1.9k

Counting Application

Sep 14 2010 5:40 PM
Hi, I can't seem to solve the following:
A counting device.
This device should have as manual input: number of decks played (52 cards per deck)
Numeric up-down boxes for A,10-2.
It should substract 1 for A and 10, and should add 1 for 2,3,4,5,6. (this number i will call X)

There should be one output box (TrueCount) = X / Nr. of decks left.

In excel I can make this, no problem. But C#.. leaves me guessing. Can anyone lead me in the right direction?

*Forgot to mention a reset button :)

Answers (6)