Results 1 to 7 of 7
Thread: [SOLVED] max function
- 08-11-2008, 08:26 AM #1
Member
- Join Date
- Jul 2008
- Posts
- 20
- Rep Power
- 0
- 08-11-2008, 12:11 PM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Do you want to increment one of max parameter?
- 08-11-2008, 12:14 PM #3
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
In simple way, do you want to try something like this?
Java Code:for(int i = 0; i < 5; i++) { for(int j = 0; j < 5; j++) { System.out.println("Max of " + i + " and " + j + " is: " + Math.max(i, j)); } }
- 08-13-2008, 08:06 AM #4
Member
- Join Date
- Jul 2008
- Posts
- 20
- Rep Power
- 0
thank you.....
- 08-13-2008, 09:02 AM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Nice, if you've solve the question please mark thread as solved. It's really helpful to all.
- 08-19-2008, 12:57 PM #6
Member
- Join Date
- Jul 2008
- Posts
- 20
- Rep Power
- 0
i dont know to mark so..how?
- 08-20-2008, 06:39 AM #7
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
On top of this thread, you can see the "Post Reply" button. Just bellow that button you can see a menu. Click on Thread Tools menu, and you can see few options there.
Similar Threads
-
Need a little help with a function!
By Nuluvius in forum New To JavaReplies: 3Last Post: 02-07-2008, 11:33 PM -
Function in a variable
By beserie in forum New To JavaReplies: 4Last Post: 01-07-2008, 03:12 AM -
I want to add function
By romina in forum New To JavaReplies: 1Last Post: 08-07-2007, 05:25 AM -
function name
By osval in forum Advanced JavaReplies: 1Last Post: 08-06-2007, 08:56 PM -
Help with the Dummy Function
By Felissa in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 07-06-2007, 05:03 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks