## Create a new string by alternately combining the characters of two halves of the string in reverse

Given a string s, create a new string such that it contains the characters of the two halves of the string s combined alternately in… Read More »

- Program to calculate Electricity Bill
- Check if a Number is Odd or Even using Bitwise Operators
- Program to print half Diamond star pattern
- Check if its possible to make sum of the array odd with given Operations
- Program to reverse the rows in a 2d Array
- Check whether a Matrix is a Latin Square or not
- Program to calculate Percentile of a student based on rank
- Replace every element with the smallest of the others
- Count of elements A[i] such that A[i] + 1 is also present in the Array
- Make A, B and C equal by adding total value N to them
- Calculate the frequency of each word in the given string
- Count of greater elements for each element in the Array
- Student Information Management System
- Check if a word is present in a sentence
- Find two numbers such that difference of their squares equal to N
- XOR of every element of an Array with a given number K
- The "Hello World" To Programming
- Find ratio of zeroes, positive numbers and negative numbers in the Array
- Print string after removing all (“10” or “01”) from the binary string
- Program to balance the given Chemical Equation
- C program to display month by month calendar for a given year
- Print the Alphabets A to Z in Star Pattern
- Print Triangle separated pattern
- Represent N as sum of K even or K odd numbers with repetitions allowed
- Program to find all Factors of a Number using recursion
- Find the largest and second largest value in a Linked List
- Find the remainder when N is divided by 4 using Bitwise AND operator
- Largest number less than or equal to Z that leaves a remainder X when divided by Y
- Java Program to Add two Matrices
- Program to find absolute value of a given number

Given a string s, create a new string such that it contains the characters of the two halves of the string s combined alternately in… Read More »

Given three sides, check whether triangle is valid or not. Examples: Input : a = 7, b = 10, c = 5 Output : Valid… Read More »

Given the value of n, print the arrow pattern. Examples : Input : n = 5 Output : * ** *** **** ***** **** ***… Read More »

Given a string, count total number of consonants in it. A consonant is a English alphabet character that is not vowel (a, e, i, o… Read More »

A race is going on in which several stones are placed on a road. A bucket is placed at the starting point of the race,… Read More »

Given length and width, print the pattern in wave form using ‘/’ and ”. Examples : Input : wave_height = 4 wave_length = 4 Output… Read More »

Given n the number of terms. Find the sum of the series 0.7, 0.77, 0.777, … upto n terms. Examples : Input : 2 Output… Read More »

Given two number x and y find product using recursion. Examples : Input : x = 5, y = 2 Output : 10 Input :… Read More »

For the given input, this program prints the following pattern. The input must be an odd number. Examples: Input : 7 Output : ******* **… Read More »

Given the edge of the dodecahedron calculate its Volume. Volume is the amount of the space which the shapes takes up. A dodecahedron is a… Read More »

Given an array print sum of the pairwise consecutive elements. Examples: Input : 8, 5, 4, 3, 15, 20 Output : 13, 9, 7, 18,… Read More »

For given date of birth, this program display astrological sign or Zodiac sign. Examples : Input : Day = 10, Month = December Output :… Read More »

Given two complex numbers in the form of string. Our task is to print the multiplication of these two complex numbers. Examples: Input : str1… Read More »

In this article, we will learn how to convert Height, given in centimeter to Height in feet and inches. Examples: Input : centimeter = 10… Read More »

In this article, we will learn how to print the pattern G using stars and white-spaces. Given a number n, we will write a program… Read More »