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
0
Answer:
traverse through the array and check
if(arr[i]%10 == arr[i]%100){
sysout("Same");
}else{
sysout("Not same");
}
Explanation:
Similar questions
World Languages,
12 hours ago
Math,
12 hours ago
Math,
12 hours ago
Math,
1 day ago
Math,
8 months ago