Algorithm find the swapping of two numbers
Answers
Answered by
2
Explanation:
1. Start.
2. Initialize the value 3 in variable A.
3. Initialize the value 5 in variable B.
4. Take another variable C and store the value of A in it (now, C=3).
5. Store the value of B in A (now, A=5).
6. Store the value of C in B (now, B=3.
7. Print the value of A and B.
8. Stop.
Similar questions
Hindi,
5 months ago
World Languages,
5 months ago
Social Sciences,
5 months ago
Hindi,
11 months ago
Math,
1 year ago
English,
1 year ago
Science,
1 year ago