Add Three Numbers
Accept three integers and print their sum.
Master data structures and algorithms with our curated collection of coding challenges.
Accept three integers and print their sum.
Find the middle digit(s) of an integer - return the middle digit if odd length, or the two middle digits if even length
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.