| | |
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
![]() |
•
•
•
•
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......
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.
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.
•
•
Join Date: Jan 2009
Posts: 2
Reputation:
Solved Threads: 0
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
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
You posted the problem.
Not your solution so far... I can't see where you went wrong if you didn't post your work.
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.
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.
![]() |
Similar Threads
- finding larger number with recursion (C++)
- Dell RAM Upgrade Q's -- Size, Compatibility, Installation. (Motherboards, CPUs and RAM)
- Finding the percentage of unique numbers in an array. (C++)
- Guide to Installing and Upgrading Memory (Motherboards, CPUs and RAM)
- help with creating and calling a function (C++)
- another newbie with alot of redhat and apache server Q'S (Linux Servers and Apache)
- finding the highest value help (C)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: check my code...how to drag the controls like our toolbox controls dragging
- Next Thread: Windows Alert Message
Views: 1463 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for JavaScript / DHTML / AJAX
ajax ajaxcode ajaxexample ajaxjspservlets api blackjack browser bug calendar captchaformproblem checkbox child class close cookies createrange() cursor dependent disablefirebug dom dropdown editor element embed engine events explorer ext file firehose flash form forms game gears google gxt hiddenvalue highlightedword html ie7 ie8 iframe image() images internet java javascript javascripthelp2020 jquery jsf jsfile jump libcurl margin math matrixcaptcha media mp3 mysql object onerror onmouseoutdivproblem onreadystatechange parent passing paypal pdf php player post progressbar rated regex runtime scroll search security session shopping size software solutions sql star stars stretch synchronous text textarea tweet unicode web webkit webservice window windowsxp wysiwyg xspf \n





