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