By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,538 Members | 958 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,538 IT Pros & Developers. It's quick & easy.

help writing javascript

P: n/a
My friend is seeking help with some homework writting javascript. Please
respond to here address at gh***@hotmail.com

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!
Jul 23 '05 #1
Share this Question
Share on Google+
8 Replies


P: n/a
Howard wrote:
My friend is seeking help with some homework writting javascript.
Please respond to here address at gh***@hotmail.com
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.
[...]
Write java statement to perform the following


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
Jul 23 '05 #2

P: n/a
Lee
Howard said:

My friend is seeking help with some homework writting javascript. Please
respond to here address at gh***@hotmail.com
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.
Akoona matada!


Hakuna Matata

Jul 23 '05 #3

P: n/a
On Fri, 18 Jun 2004 06:54:42 +0200, Thomas 'PointedEars' Lahn wrote:
Howard wrote:
My friend is seeking help with some homework writting javascript. .... Write java statement to perform the following


Java != JavaScript,


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#xpost>

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
Jul 23 '05 #4

P: n/a
> JS programmers are too smart for that,
and Java programmers are too lazy.


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

Jul 23 '05 #5

P: n/a
Howard wrote:
My friend is seeking help with some homework writting javascript. Please
respond to here address at gh***@hotmail.com

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 Look at built in Array methods (push,pop etc)
2) Total the elements of array c, which contains 100 numeric elements
Look at "for" loops
3) Determine and print the smallest and largest values contained in
99 -element floating-point array w

Look at creating your own Array sort methods
Write statements that perform the following operations for one-dimensional
array

a) Add 1 to each of the 15 elements of array bonus "for" loop
b) Display the five values of array bestScores, seperated (sic) by spaces


Array.sort("numericalSort").slice(0,4).split(" ")
Mick
Jul 23 '05 #6

P: n/a
On Fri, 18 Jun 2004 12:53:10 +0200, Vincent van Beveren wrote:
...
JS programmers are too smart for that,
and Java programmers are too lazy.


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


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
Jul 23 '05 #7

P: n/a
Andrew Thompson wrote:
On Fri, 18 Jun 2004 06:54:42 +0200, Thomas 'PointedEars' Lahn wrote:
Howard wrote:
My friend is seeking help with some homework writting javascript.
...
Write java statement to perform the following


Java != JavaScript,

Since you were already told much the same
thing in the messages you multi-posted* to
the Java groups,


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

<http://www.allmyfaqs.com/faq.pl?How_to_post>

BTW: Your From header is invalid, so
this is the only way to tell you this.
PointedEars
Jul 23 '05 #8

P: n/a
On Fri, 18 Jun 2004 17:25:15 +0200, Thomas 'PointedEars' Lahn wrote:
Who and what the heck are you referring to?


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
Jul 23 '05 #9

This discussion thread is closed

Replies have been disabled for this discussion.