Computer Science, asked by thummalaanusha99, 20 hours ago

Assume that A is an array consisting of 'n' number 3-digit numbers. Write a program to print all the numbers of the array in which first and last digits are same​

Answers

Answered by guptarahulalwaysonl9
0

Answer:

traverse through the array and check

if(arr[i]%10  == arr[i]%100){

 sysout("Same");

}else{

  sysout("Not same");

}

Explanation:

Similar questions