Multiply Three Numbers
Read three integers from input and output their product
Master data structures and algorithms with our curated collection of coding challenges.
Read three integers from input and output their product
Extract and print the rightmost digit (units place) of a given integer
Given two integers N and X, compute the sum of the last X digits of the integer N.
Given a string with words separated by spaces, print words whose first letter matches the last letter of the previous word.
Determine if a given character represents male ('m') or female ('f') and print the corresponding gender.
Check if a student's mark is passing (>= 40) or failing (< 40) and print the result
Determine if a given integer is odd or even and print the result.
Find the maximum absolute difference between adjacent integers after sorting an array of N integers.
Check if at least one of two given integers is exactly 100 and print 'yes' or 'no' accordingly.
Calculate and print the square of a given integer number.
Count the number of triplets in an array where three integers appear in strictly decreasing order.
Find the nearest integer to N where the concatenation of its first and last digits is a factor of the integer itself.