Finding the maximum number from a number list

Please support our JavaScript / DHTML / AJAX advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Reply

Join Date: Jan 2009
Posts: 2
Reputation: atlantis_guy is an unknown quantity at this point 
Solved Threads: 0
atlantis_guy atlantis_guy is offline Offline
Newbie Poster

Finding the maximum number from a number list

 
0
  #1
Jan 8th, 2009
Hello guys!!! who can help me to solve my problem in javascript program??? I am a 2nd Computer Programming student.. But it is hard for me to do this problem....please!!!help me to do this......thanks guys i need it tomorrow......
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 276
Reputation: kanaku is on a distinguished road 
Solved Threads: 15
kanaku's Avatar
kanaku kanaku is offline Offline
Posting Whiz in Training

Re: Who can help me to my problem in javascript program??

 
0
  #2
Jan 8th, 2009
Hello guys!!! who can help me to solve my problem in javascript program??? I am a 2nd Computer Programming student.. But it is hard for me to do this problem....please!!!help me to do this......thanks guys i need it tomorrow......
Hallu! I'm a 1st ComSci student! LOL just kidding... but seriously,
Maybe you should post the code you have done so far so we can see where things went wrong.

If you haven't started yet, I suggest you try starting the homework now and asking for help when you're stuck.
If you know ASP, you can save other daniweb members from idiots like me by helping out in this forum.

Visit this thread
if your username starts with one of the following letters: B D F H J L N P R T X Y Z.
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 2
Reputation: atlantis_guy is an unknown quantity at this point 
Solved Threads: 0
atlantis_guy atlantis_guy is offline Offline
Newbie Poster

Re: Who can help me to my problem in javascript program??

 
0
  #3
Jan 8th, 2009
thanks guys! but you're right.. I haven't started yet.... this is the problem....

The process of finding the largest value (i.e., the maximum of a group of values) is used frequently computer applications. Write a Javascript program that input a series of 10 single digit numbers as characters, determines the largest of the number and output XHTML text that displays the largest number. Your program should use 3 variables as follows:

a.) COUNTER: A counter to count to 10 (i.e. to keep track of how many number have been input and to determine when all 10 number have been processed).

b.) NUMBER: The current digit input to the program.

c.) LARGEST: The largest number found so far.




P.S.

Hope you can help me about this problem
Reply With Quote Quick reply to this message  
Join Date: Jan 2007
Posts: 276
Reputation: kanaku is on a distinguished road 
Solved Threads: 15
kanaku's Avatar
kanaku kanaku is offline Offline
Posting Whiz in Training

Re: Who can help me to my problem in javascript program??

 
1
  #4
Jan 10th, 2009
You posted the problem. Not your solution so far... I can't see where you went wrong if you didn't post your work.
If you know ASP, you can save other daniweb members from idiots like me by helping out in this forum.

Visit this thread
if your username starts with one of the following letters: B D F H J L N P R T X Y Z.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 1463 | Replies: 3
Thread Tools Search this Thread



Tag cloud for JavaScript / DHTML / AJAX
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC