Challenge 2012-04

Discussione Challenge 1

Use the stack to reverse a list of numbers entered by a user.

Discussione Challenge 2

Use a While loop to find the first triangular number with 4 digits.
A triangular number is the sum of all numbers up to the current, e.g. 1+2+3+4+5 = 15 is a triangular number.

Challenge 3

Write a units conversion program to convert between m, cm, mm, inches, feet, and yards; either graphical or text based.

Discussione Challenge 4

Work out the probability of getting 4 of a kind (any suit) in a five card hand of poker on the first round (before any card changes).
Also what is the probability of getting a full house (3 of one type and 2 of another)?

Challenge 5

Write a GraphicsWindow application with TextBox controls to calculate the cost of a journey, with inputs for the distance, fuel consumption and price of fuel.

Challenge 6

Write a GraphicsWindow stopwatch program to time the interval between a Start and Stop button press.
Also add Pause and a countdown timer option with alarm.

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *