# Category Archives: Program

## How many Centimeters in a Foot through Python

Here we have provided a Program in Python which can tell how many centimeters are there in the user entered a number (in feet). The program asks the user to enter feet and in return, the program tells the user how many centimeters are in that feet. This would be feet to centimeters converter.

## 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

Here in this article, we have written a C program, to build a Love Calculator. This program asks the user to enter his and his partner name and the program will use logic and calculate the love percentage between the entered names.

## C Program to Convert Feet into Inches

In this article, we have written a program in C which can convert given feet into inches. Both feet and inches are the measuring units of length, for basic there are 12 inches in 1 foot, where the foot is the singular form of feet.

## 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.