Computer Science, asked by ginafranco, 8 months ago

9.3 Code Practice: Question 2
Modify the code from the last problem by adding new lines of code. Your new program should swap the first and third elements of the nums array.

Print the nums array before and after the swap.

Sample Run
[14, 36, 31, -2, 11, -6]
[31, 36, 14, -2, 11, -6]

Answers

Answered by shahil2k10
0

Answer:

, 14, -2, 11, -6] is. the. answer

Similar questions