array in descending order

How do I creat an array that will hold a users guesses and then print them out if the user was asked to enter 2 numbers and then asked for a number between the 2. He can have 5 guesses to get it right.

Comments

  • : How do I creat an array that will hold a users guesses and then print them out... He can have 5 guesses to get it right.

    An array of type int containing 5 elements would do fine here. Is this a question of the syntax?


    Kind Regards
    Konrad
    ----------------------------
    (+46/0) 708-70 73 92
    chamster@home.se
    http://konrads.webbsida.com

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion