# Category Archives: Program

## Rectangle & Pyramids Pattern in C++

Here in this article, we have covered some of the important Rectangle and Pyramids patterns using the C programming language. The logic we have used here to create all the patterns is most important when it comes to design a pattern in any language, and with the same logic, we can make those patterns in… Read More »

## C Program to Design Love Calculator

## C Program to Convert Feet into Inches

## C Program to Extract a Portion of String

Here in this article, we have written a C program that can extract a substring from a given string. Steps Ask the user to enter a string Ask the user to enter the starting and endpoint of the string they want to extract and these points will represent the index value of String Pass the… Read More »

## Write a Program in C++ & Python & Short an Array Using Bubble Sort

Here in this program, we will code to sort an unsorted array using bubble sort. Bubble sort is one of the sorting algorithms we use to sort an unsorted array it has a time complexity of O(n2) where n2 is the time complexity of Average and worst case.

## Write a Program in C++ & Python to find the Sum of Series 1/2+4/5+7/8+…

Here in this program, we will code to find the sum of series 1/2+4/5+7/8+…. Here n represents the total number of terms we want to add.

## WAP in C++ & Python to Find the Sum of Series 1^2+3^2+5^2+…..+n^2

Here in the program, we will code to find the sum of all the odd number squares from 1 to n. If the user enters an even number as the last number the sum of all the odd sq. will continue till n-1.

## WAP in C++ & Python to Find the Sum of Series 1+x+x^2+……+x^n

Here in this program, we will code to find the sum of a special series which is 1+x+x^2+……+x^n. Here x is the variable and n will represent up to which power the sum will continue.

## WAP in C++ & Python to find the sum of the series x+ x2/2 +x3/3 + ……. +xn/n

Here in this program, we will code to calculate the sum of a special series x + x2/2 +x3/3 + ……. +xn/n, where x and n are two variables which value the user will enter.