help writing javascript

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Howard

    help writing javascript

    My friend is seeking help with some homework writting javascript. Please
    respond to here address at ghina@hotmail.c om

    Thanks for your help in advance.



    Write java statement to perform the following

    1) Total 11 -element array a into the first portion of array b, which
    contains 34 elements

    2) Total the elements of array c, which contains 100 numeric elements

    3) Determine and print the smallest and largest values contained in
    99 -element floating-point array w



    Write statements that perform the following operations for one-dimensional
    array

    a) Add 1 to each of the 15 elements of array bonus

    b) Display the five values of array bestScores, seperated by spaces

    --
    Akoona matada!


  • Thomas 'PointedEars' Lahn

    #2
    Re: help writing javascript

    Howard wrote:[color=blue]
    > My friend is seeking help with some homework writting javascript.
    > Please respond to here address at ghina@hotmail.c om[/color]

    Oh yeah, your friend. Sure ...

    And no, your "request" will be replied to here. It is impolite to ask
    a question in a newsgroup to be answered only via private e-mail. Do
    not post to groups you are not reading. Nobody wants to subscribe to
    a newsgroup containing only questions, but no answers. Read the FAQ.
    [color=blue]
    > [...]
    > Write java statement to perform the following[/color]

    Java != JavaScript, you are completely off-topic. And you should be
    ashamed that you are this lazy that you let others do your homework.


    PointedEars

    Comment

    • Lee

      #3
      Re: help writing javascript

      Howard said:[color=blue]
      >
      >My friend is seeking help with some homework writting javascript. Please
      >respond to here address at ghina@hotmail.c om[/color]

      This is USENET. You don't ask for responses to your email address.
      You also don't ask for help with your homework.
      Or your friend's homework.

      You're supposed to try to pretend that you have a client who is
      paying you to do elementary array manipulation, and you seem to
      have a buggy browser and need some help in getting your code to
      work in it.
      [color=blue]
      >Akoona matada![/color]

      Hakuna Matata

      Comment

      • Andrew Thompson

        #4
        Re: help writing javascript

        On Fri, 18 Jun 2004 06:54:42 +0200, Thomas 'PointedEars' Lahn wrote:[color=blue]
        > Howard wrote:[color=green]
        >> My friend is seeking help with some homework writting javascript.[/color][/color]
        ....[color=blue][color=green]
        >> Write java statement to perform the following[/color]
        >
        > Java != JavaScript,[/color]

        Since you were already told much the same
        thing in the messages you multi-posted* to
        the Java groups, I will 'toss you a bone'
        and give you a link to further information
        on the two..
        <http://www.physci.org/codes/javafaq.jsp#js>

        * <http://www.physci.org/codes/javafaq.jsp#xpo st>

        And if this is some pathetic
        attempt to get that address
        flooded with irate mail?

        That will probably not work either.
        JS programmers are too smart for that,
        and Java programmers are too lazy.
        Most of us prefer issuing abuse in public
        (when it is called for) in any case.

        --
        Andrew Thompson
        http://www.PhySci.org/ Open-source software suite
        http://www.PhySci.org/codes/ Web & IT Help
        http://www.1point1C.org/ Science & Technology

        Comment

        • Vincent van Beveren

          #5
          Re: help writing javascript

          > JS programmers are too smart for that,[color=blue]
          > and Java programmers are too lazy.[/color]

          I'm a JS and Java programmer does that make me smart and lazy? ;)

          Comment

          • Mick White

            #6
            Re: help writing javascript

            Howard wrote:
            [color=blue]
            > My friend is seeking help with some homework writting javascript. Please
            > respond to here address at ghina@hotmail.c om
            >
            > Thanks for your help in advance.
            >
            >
            >
            > Write java statement to perform the following
            >
            > 1) Total 11 -element array a into the first portion of array b, which
            > contains 34 elements[/color]
            Look at built in Array methods (push,pop etc)[color=blue]
            >
            > 2) Total the elements of array c, which contains 100 numeric elements[/color]

            Look at "for" loops[color=blue]
            >
            > 3) Determine and print the smallest and largest values contained in
            > 99 -element floating-point array w
            >[/color]

            Look at creating your own Array sort methods[color=blue]
            >
            > Write statements that perform the following operations for one-dimensional
            > array
            >
            > a) Add 1 to each of the 15 elements of array bonus[/color]
            "for" loop[color=blue]
            >
            > b) Display the five values of array bestScores, seperated (sic) by spaces[/color]

            Array.sort("num ericalSort").sl ice(0,4).split( " ")


            Mick

            Comment

            • Andrew Thompson

              #7
              Re: help writing javascript

              On Fri, 18 Jun 2004 12:53:10 +0200, Vincent van Beveren wrote:
              ...[color=blue][color=green]
              >> JS programmers are too smart for that,
              >> and Java programmers are too lazy.[/color]
              >
              > I'm a JS and Java programmer does that make me smart and lazy? ;)[/color]

              Either that or dumb'n'busy. *

              Judging from myself I'd say that's
              also a distinct possibility. ;-)

              (* it is quixotic that way)

              --
              Andrew Thompson
              http://www.PhySci.org/ Open-source software suite
              http://www.PhySci.org/codes/ Web & IT Help
              http://www.1point1C.org/ Science & Technology

              Comment

              • Thomas 'PointedEars' Lahn

                #8
                Re: help writing javascript

                Andrew Thompson wrote:[color=blue]
                > On Fri, 18 Jun 2004 06:54:42 +0200, Thomas 'PointedEars' Lahn wrote:[color=green]
                >> Howard wrote:[color=darkred]
                >>> My friend is seeking help with some homework writting javascript.[/color][/color]
                >
                > ...
                >[color=green][color=darkred]
                >>> Write java statement to perform the following[/color]
                >>
                >> Java != JavaScript,[/color]
                >
                >
                > Since you were already told much the same
                > thing in the messages you multi-posted* to
                > the Java groups,[/color]

                Who and what the heck are you referring to?
                I have never multi-posted to Java groups.

                <http://www.allmyfaqs.c om/faq.pl?How_to_p ost>

                BTW: Your From header is invalid, so
                this is the only way to tell you this.


                PointedEars

                Comment

                • Andrew Thompson

                  #9
                  Re: help writing javascript

                  On Fri, 18 Jun 2004 17:25:15 +0200, Thomas 'PointedEars' Lahn wrote:
                  [color=blue]
                  > Who and what the heck are you referring to?[/color]

                  The OP. Though at *this* moment I am
                  referring to your statement.

                  Thank you for the link (no don't look
                  for it, I trimmed it). ;-)

                  --
                  Andrew Thompson
                  http://www.PhySci.org/ Open-source software suite
                  http://www.PhySci.org/codes/ Web & IT Help
                  http://www.1point1C.org/ Science & Technology

                  Comment

                  Working...