Howdy, Stranger!

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

Categories

array in descending order

bridgesbridges Member Posts: 8
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

  • chamsterchamster Member Posts: 662
    : 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

  • Shawn CarterShawn Carter Member Posts: 0

    // http://forcoder.org // free video tutorials and ebooks about ( Scratch Python Assembly MATLAB R Visual Basic .NET C# Ruby Perl C++ PHP Visual Basic Delphi Objective-C PL/SQL JavaScript Java Go Swift C Clojure Scala Crystal Prolog Logo Hack Apex Lua VBScript Scheme Rust Ada ML ABAP Awk Lisp Dart FoxPro Julia Erlang Bash D Kotlin COBOL LabVIEW F# Transact-SQL SAS Alice Fortran )

Sign In or Register to comment.