About 6,780,000 results
Open links in new tab
  1. Program to calculate product of digits of a number

    Mar 13, 2023 · Get the rightmost digit of the number with help of remainder ‘%’ operator by dividing it with 10 and multiply it with product. Print or return the product. Below is the solution …

  2. Calculate Product of Digits using Recursion in C - SillyCodes

    The prodOfDigits function takes an integer variable as input and calculates the product of digits of the given number using recursion and returns the result back to the caller. The prodOfDigits …

  3. C Program to Find Product of Digits Of a Number - Tutorial …

    How to write a C Program to Find Product of Digits Of a Number using For Loop, While Loop, Functions, and Recursion. This program allows the user to enter any positive integer. Next, it …

  4. c - Multiply digits of a number using recursion - Stack Overflow

    Nov 12, 2014 · Given a four digit number such as 3183, compare each digit with the last and if greater or equal multiply it with the following. Example: for the number 3183 it would be n = …

  5. c - How to multiply 2 numbers using recursion - Stack Overflow

    Oct 6, 2019 · Given that multiplication is repeated addition of a b times, you can establish a base case of b == 0 and recursively add a, incrementing or decrementing b (depending on b 's sign) …

  6. Product of 2 Numbers using Recursion - GeeksforGeeks

    Mar 17, 2025 · To find the product of two numbers x and y using recursion, you can use the following approach: Base Case: If y=0, return 0 (since any number multiplied by 0 is 0). …

  7. How to solve problems related to Number-Digits using Recursion?

    Dec 20, 2022 · Recursive sum of digits of a number formed by repeated appends Given two positive number N and X. The task is to find the sum of digits of a number formed by N …

  8. Product of N Numbers using Recursion in C Language

    Write a Program to calculate the Product of N Numbers using Recursion in C programming language. The program should accept a positive number and calculate the product of first n …

  9. program to calculate the Product of Digits of number in C

    Write a Program to calculate the product of digits in C language using the C Loops, with algorithm and step by step example walkthrough.

  10. Recursion Programs in C (With Examples) - Sanfoundry

    The following C program using recursion reverses the digits of the number and displays it on the output of the terminal. Eg: 456 becomes 654. * C program to find the reverse of a number …

  11. Some results have been removed
Refresh