Number Swap Method | Java Program | How to Swap Two Numbers

preview_player
Показать описание
Hello and welcome, in this video I'll write a java program has a method that make swap for 2 numbers.
Algorithm
STEP 1: START
STEP 2: ENTER x, y
STEP 3: PRINT x, y
STEP 4: CREATE A METHOD
STEP 5: DEFINE x, y, t
STEP 6: t = x
STEP 7: x= y
STEP 8: y= t
STEP 9: METHOD CALL WITH x, y PARAMETERS
STEP 10: PRINT x, y
STEP 11: END

I hope my video helps you, if you want to watch more videos about programming and java in particular you may find my channel so useful.
Please like and Subscribe !
Рекомендации по теме
visit shbcf.ru