C Programming-Write an Efficient Method Check if a Number is Multiple of 3 -If sum of digits in a number is multiple of 3 then number is multiple of 3 e.g.,You have to get all decimal digits one by one, add them and then check if sum is multiple of 3.
composite numbers from 1 to 1000
4 Articles
4
C Programming Find the smallest number whose digits multiply to a given number n – Mathematical Algorithms – Given a number ‘n’ find the smallest number ‘p’
C Programming – Given a number, find the next smallest palindrome – Mathematical Algorithms – For example, if the input number is “2 3 5 4 5”.
C programming for Write an Efficient Method to Check if a Number is Multiple of 3 – Mathematical Algorithms – If sum of digits in a number is multiple of 3.