## Program to count vowels in a string (Iterative and Recursive)

Given a string, count the total number of vowels (a, e, i, o, u) in it. There are two methods to count total number of… Read More »

- Program to find the Nth Prime Number
- Find the character made by adding all the characters of the given string
- Count the number of occurrences of a particular digit in a number
- Check whether Quadrilateral is valid or not if angles are given
- Find the first N integers such that the sum of their digits is equal to 10
- Generate an array having Bitwise AND of the previous and the next element
- Find the remainder when First digit of a number is divided by its Last digit
- Find area of the larger circle when radius of the smaller circle and difference in the area is given
- Maximum number of line intersections formed through intersection of N planes
- Find the remaining balance after the transaction

Given a string, count the total number of vowels (a, e, i, o, u) in it. There are two methods to count total number of… Read More »

Unary operator: are operators that act upon a single operand to produce a new value. Types of unary operators: unary minus(-) increment(++) decrement(- -) NOT(!)… Read More »

A token is the smallest element of a program that is meaningful to the compiler. Tokens can be classified as follows: Keywords Identifiers Constants Strings… Read More »

In general, the scope is defined as the extent up to which something can be worked with. In programming also the scope of a variable… Read More »

Given a string, write a function that converts it either from lower to upper case or from upper to lower case using the bitwise operators… Read More »

Array- Basics In C/C++, we can define multidimensional arrays in simple words as array of arrays. Data in multidimensional arrays are stored in tabular form… Read More »

C++ comes with libraries which provides us with many ways for performing input and output. In C++ input and output is performed in the form… Read More »

There come situations in real life when we need to make some decisions and based on these decisions, we decide what should we do next.… Read More »

All variables use data-type during declaration to restrict the type of data to be stored. Therefore, we can say that data types are used to… Read More »

Operators are the foundation of any programming language. Thus the functionality of C/C++ programming language is incomplete without the use of operators. We can define… Read More »

We are given an array and we have to calculate the product of an array using both iterative and recursive method. Examples : Input :… Read More »

Learning C++ programming can be simplified into: Writing your program in a text-editor and saving it with correct extension(.CPP, .C, .CP) Compiling your program using a… Read More »

C++ is a general-purpose programming language and widely used nowadays for competitive programming. It has imperative, object-oriented and generic programming features. C++ runs on lots… Read More »

Given an array, the task is to find average of that array. Average is the sum of array elements divided by the number of elements.… Read More »

Given 4 integers a, b, y, and x, where x can only either 0 and 1 only. The ask is as follows: If ‘x’ is… Read More »