C++ Program for Fibonacci Series

A series in which each number is the sum of the preceding two numbers is called the Fibonacci series. For example 0 1 1 2 3 5 8 13 . . . . . Below is the program to find Fibonacci series in C++. Output: How many numbers?5Fibonacci series0 1 1 2 3

Find Divisors of a Number C++

Below is the C++ program to find all the divisors of a number. A divisor is a number that divides another number completely. For example, D is the divisor of N if N%D=0. Output: Enter the number: 6Divisors of 6 are 1 2 3 6

C++ Program to Check Character is Uppercase, Lowercase, Digit, or Special Character

Below I have shared a C++ program to check whether a given character is an uppercase or lowercase alphabet, a digit, or a special character. First of all, I read a character and then compare it with the ASCII values given below. If the ASCII value of the character is other than the values mentioned …

C++ Program to Check Character is Uppercase, Lowercase, Digit, or Special Character Read More »