1. Course
  2. Recursion
  3. Create a recursive function to multiply

Create a recursive function to multiply


Last updated: 8/23/2020 Difficulty: Intermediate

Create a C# program that implements a recursive function called "Multiply" that receives two whole numbers requested from the user and returns the result of its multiplication.

Input

4
4

Output

16

Solution

Recursion

2 / 6

Android App


Practice C# anywhere with the free app for Android devices.

Android App

Exercises C# by difficulty


Learn C# at your own pace, the exercises are ordered by difficulty.

Advertising