<script>
const a = parseInt(prompt("Enter the first number"));
const b = parseInt(prompt("Enter the Second number"));
const c = parseInt(prompt("Enter the Third number"));
var d = a % 10;
var e = b % 10;
var f = c % 10;
if(d == e && d == f){
alert("a,b,c in the last same number here");
}else{
alert("not a same number");
}
</script>
Thanks you for commenting your questions. I will see question and respond you.