JavaScript
xxxxxxxxxx
const a = prompt('Enter a first integer: ');
const b = prompt('Enter a second integer: ');
const c = prompt('Enter a third integer: ');
const result1 = a % 10;
const result2 = b % 10;
const result3 = c % 10;
if(result1 == result2 && result1 == result3) {
console.log(`${a}, ${b} and ${c} have the same last digit.`);
}
else {
console.log(`${a}, ${b} and ${c} have different last digit.`);
}
Enter a first integer: 8 Enter a second integer: 38 Enter a third integer: 88 8, 38 and 88 have the same last digit.
Linux - anc-api-tools እንዴት እንደሚጫን
Linux - curvedns እንዴት እንደሚጫን
Linux - zenmap እንዴት እንደሚጫን
Python - ቁጥሩ አዎንታዊ፣ አሉታዊ ወይም 0 መሆኑን ያረጋግጡ
C - በአንድ ኢንቲጀር ውስጥ የአሃዞች ብዛት ይቁጠሩ
C - ተለዋዋጭ ማህደረ ትውስታ ምደባን በመጠቀም ትልቁን ቁጥር ያግኙ
C++ - ቁጥሩ ዋና መሆኑን ወይም አለመሆኑን ያረጋግጡ
Linux - zstd እንዴት እንደሚጫን
Python - የ Excel (XLSX) ፋይሎችን መፃፍ
Kotlin - ቁጥር ይገለበጥ
JavaScript - ሕብረቁምፊው የሚጀምረው እና የሚያልቅ በተወሰኑ ቁምፊዎች መሆኑን ያረጋግጡ
Kotlin - የቁጥር ፋክተርን ያግኙ
Kotlin - አንድ ቁጥር ወደ n የአስርዮሽ ቦታዎች ክብ
C++ - የሊፕ ዓመትን ያረጋግጡ
Java - ቁጥር ይገለበጥ
Python - የአረፋ ደርድር
Linux - xbitmaps እንዴት እንደሚጫን
C++ - Quotient እና Remainderን ያግኙ
We have been online since 2021 and 1 millions of people around the globe have visited our website since then
More visitors every month