3 Replies Latest reply on May 1, 2008 9:03 PM by 807591

    how to take numbers from console and calculate

    807591
      Hi everyone,

      can any 1 plz help me how to write below program.

      I need to take numbers from console and stop when 0 is entered.(need to validate this)
      after getting the numbers i need to output smallest even and largest odd number.

      help needed


      thanks in advance