Results 1 to 2 of 2

Thread: need help with linux script

  1. #1

    need help with linux script

    hi experts,
    i need help with these 2 exercises, i hope someone can help me with them or even put me in the right direction:

    1) - when run it generates a random number between 1 and 100 and asks you

    to guess the secret number until you guess correctly. The script tells if the guess was too

    high, too low or correct. You can guess 0 (zero) to exit the program. After you guessed

    right the program will tell how many tries you needed and ask if you wish to try again.

    2) when run it shows all data of the students in students2,

    sorted by year of birth, the youngest on top. The students that have the same year of birth

    should be alphabetically sorted by name.

    here are the student sin students2:

    Lucile st155 1985 Belgium
    Monique st933 1983 France
    Giovanni st126 1986 Italy
    Piet st063 1983 Holland
    Pierre st356 1986 France

    any help will be realy appreciated


  2. #2
    Join Date
    Jan 2007
    Adelaide, Australia

    Post RE:need help with linux script

    Seeing this is a school programming task I will not help you with code, instead I will point you in the direction of --> also the advanced guide as well -->

Similar Threads

  1. Replies: 2
    Last Post: 10-24-2005, 06:04 AM
  2. PHP unzip script for Linux
    By Fubie in forum Programming
    Replies: 0
    Last Post: 06-17-2005, 01:39 PM
  3. IPSec(KAME) on Linux Kernel 2.6 startup script.
    By kieler in forum Programming
    Replies: 0
    Last Post: 05-17-2004, 12:56 PM
  4. linux/unix boot script question
    By morphman in forum Programming
    Replies: 4
    Last Post: 05-31-2002, 12:50 PM
  5. linux script/program continue statement help!
    By morphman in forum Programming
    Replies: 5
    Last Post: 05-25-2002, 04:11 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts