473,387 Members | 1,510 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

help writing javascript

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
8 2054
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
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
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
> 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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Luc Dal | last post by:
Hello, I need your help : is it possible to call asp with javascript .If so, can you give me a sample ? And by the way, is it possible to call asp with javascript ? Thanks
5
by: splatter | last post by:
Hey all, I'm trying to get a java bookmark to work from my browsers address field which is supposed to send a prefix + reload the current page from my proxy & return a special view depending...
8
by: Johnny Knoxville | last post by:
I've added a favicon to my site (http://lazyape.filetap.com/) which works fine if you add the site to favourites the normal way, but I have some JavaScript code on a couple of pages with a link,...
2
by: ASallade | last post by:
Hello, I've scoured my books and the web, but am still daunted, hopefully some of the users in this newsgroup will have advice for my problem. I am not an experienced javascript programmer,...
5
by: Craig Keightley | last post by:
Please help, i have attached my page which worksin IE but i cannnot get the drop down menu to fucntion in firefox. Any one have any ideas why? Many Thanks Craig ...
32
by: Tom Cole | last post by:
I bet 50% of the posts I've read lately have had at least one bad thing to say about every website or book dedicated to javascript. There are clearly a few posters (you know who you are) who...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
5
by: Jonathan Fine | last post by:
If you care about mathematics on the web, this might be for you. I'm the lead developer of MathTran, a web service that provides TeX for math formulas as web service. Visit...
3
by: colleen1980 | last post by:
Hi: Can any one please tell me what i make mistake in popup window? When i click on the image it gives syntax error Thanks. function openWin(img) { winId =...
53
by: souporpower | last post by:
Hello All I am trying to activate a link using Jquery. Here is my code; <html> <head> <script type="text/javascript" src="../../resources/js/ jquery-1.2.6.js"</script> <script...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.