Using a notepad,*create a script named swap.bat
Read five integer values (a mix of positive and negative values)
Write a script to:
Read the values in an array at run time
Display the values using for loop
If first value is greater than the last value then
Swap first and last value
Display the updated values using for loop
The script should display an appropriate output/message in every case.
Run your script and display the output.
Can anyone do this so I have reference to do it.