Home C++ Functions

C++ Functions

functions in C++

Fibonacci Number program in C++ using Recursion

This program shows A Fibonacci Sequence starting from a user's entered number, the approach used here is recursive.Have a look at the code: //febonacci using recursion ...

Program for Palindrome in C++

Palindrome is a word that reads the same forward or backward. Now how can we check a string that it is a palindrome or not? We can do it by using...

C++ Program to find largest of 3 numbers

In C++ we can implement a logic to write a program to find largest of 3 numbers. So for finding maximum number from given two, three or more numbers, this is...

Generate Random Numbers in C++

We generate random numbers in C++ because it is used mostly in games and other automatic stuff. To Generate random numbers  we need some ready  made libraries, we use the library...