for-loop

Palindrome Program in Python using for loop [New]

Table of Contents Palindrome program in python using for loop number=input("Enter any number/word :") i=0 for i in range(len(…

Python Program to Check Armstrong Number using while loop

Table of Contents In this program, we will make a program to check whether the given number is Armstrong. We will also make a python prog…

Subarray Sum Equals K in Linear Time Complexity [New]

In this post, we will make a C++ program to print the total number of subarray sums equals k and another program based on the idea of a cumulative su…

Palindrome Program in C [New]

It is a program to check whether the number is a palindrome or not in the c language. We will make it using for loop, a while loop, and functions. …

String Palindrome Program in C using for loop [New]

In this post, we will make a String Palindrome Program in C using for loop. We will check whether the given string is palindrome or not. String Pali…

C Program for Multiplication of Matrix using 2D array [New]

In this C Program for Multiplication of Matrix using the 2D array, we will multiply two matrices A and B, e.g., C=A*B; then, we print matrix C. The…

Prime Number Program in C using for loop

In this post, we will make the Prime number program in c. It will help us to check whether the number is prime or not. Prime number: A number no…

Palindrome Program in C++ using for loop

In this post, we are going to make a palindrome program in c++ using for loop and recursion. We will make a program that will check whether the given…

Prime Number Program in Cpp using for loop

In this program, we are going to make a c++ program to check prime numbers using for loop and then we also make this program using recursion. How d…

Python Program to Find Factorial of a Number using for loop

In this post, I have provided coding and a quick algorithm to make a Python program to find the factorial of a number and the factorial of a number i…

Matrix Program in C using Array

Here all the Matrix programs in c using array are available. This program will add two matrices, subtract two matrices, and multiply two matrices. …

Linear Search Program in C with Time complexity [New]

In this Linear search program in c, we will understand how to search elements in an array using for loop Table Of Contents L…

Factorial Program in c using for loop

Factorial program in c: In this program, we are going to find the factorial of any number using for loop.  Enter a number: 8 Factorial of 8 is 4032…

Menu-Driven Program for Array Operations in C++

In this program, we are going to make a menu-driven program that will perform some important array operations. We will make a different function for …

Learn c programming online for free

Table Of Contents for loops, while loops and if statements then come variables then you have functions and arrays so these like a k…

C++ program to print prime numbers [New]

In this program, we will make a c++ program to print prime numbers upto n. Prime numbers up to n Prime numbers between 1 to 100 Pri…