DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
swap of two numbers without using third variable
a=20; b=40; a=a+b; b=a-b; a=a-b;
Source by www.javatpoint.com #
PREVIOUS
NEXT
Tagged:
#swap
#numbers
#variable
ADD COMMENT
Topic
COMMENT
Name
2+3 =
Submit