Write a program to enter 5 numbers in an array. Interchange the first and last digit of each element in the array and print the modified array.
Question asked by Nikita Thanks for this SOLUTION PLS TRY AND THEN SEE IT import java.util.*; class interchange { void main() { Scanner ob=new Scanner(System.in); int a[]=new int [5]; int m,n,s,c,i,first,last,d; …