Browse studyfied

Looking for something? Search here to find quickly...

Recent updates
All recently added posts
C++ program to print all prime numbers between 1 to N
Prime number A prime number is an integer greater than 1 whose only factors are…

March 15, 2019

C++ program to calculate sum of first N natural numbers
Natural number Natural numbers are numbers that are common and clear in nature. As such,…

March 15, 2019

C++ program to print first N natural numbers using for loop
Natural number Natural numbers are numbers that are common and clearly in nature. As such,…

March 15, 2019

C++ program to calculate sum of first N even numbers
Even number Even numbers are numbers that have a difference of 2 unit or number.…

March 15, 2019

C++ program to print all even numbers from 1 to N
Even number Even number are numbers that have a difference of 2 unit or number.…

March 15, 2019

C++ program to calculate sum of first N odd numbers
Odd number The Opposite of even numbers. Odd numbers have a difference of 3 unit…

March 15, 2019

C++ program to print all odd numbers from 1 to N
Odd number Opposite of even numbers, odd numbers are having a difference of 3 unit…

March 15, 2019

C++ print day name of week from number
In this program, we are going to print day name based on week no. Like…

March 15, 2019

C++ check whether a character is vowel or consonant
There are five vowel characters {a, e, i, o, u}. If the user given character…

March 15, 2019

C++ check whether a character is upper or lowercase alphabet
Logic If the ASCII value of a character lies between 65 (A) to 90 (Z)…

March 15, 2019