Multiply two numbers using Recursion Get link Facebook X Pinterest Email Other Apps By Unknown - July 01, 2016 This program is to multiply two numbers using Recursive function. #include <iostream> using namespace std; int Multiply(int a,int b,int i) { if(i==b) { return a*i; } int y=Multiply(a,b,i+1); return y; } int main() { int a,b; cin>>a>>b; int y=Multiply(a,b,1); cout<<y; } Get link Facebook X Pinterest Email Other Apps Comments
Return Sum of Digits of an Integer using Recursion By Unknown - July 01, 2016 Example: Input: 1234 Output: 10 CLICK HERE TO READ MORE..>>>>
Dijkstra's Algorithm By Unknown - December 19, 2016 Introduction: Given a graph and a source vertex in graph, find shortest paths from source to all vertices in the given graph. Let's take a real life example: CLICK HERE TO READ MORE..>>>>
Project : RGB Blinky By Unknown - February 28, 2016 /* Project : RGB Blinky Uses a single RGB LED to cycle through three colors. */ CLICK HERE TO READ MORE..>>>>
Comments
Post a Comment