write a program in Java to input two numbers and swap them using third variable
Answers
Answered by
5
Answer:
static void main(into a,into b)
{
int c=a;
a=b;
b=c;
}
Similar questions
English,
6 months ago
Social Sciences,
6 months ago
Social Sciences,
11 months ago
English,
11 months ago
Physics,
1 year ago
History,
1 year ago
English,
1 year ago