Notes & Articles by Bimal — Page 7
-
C++ Program To Calculate Area And Perimeter Of Rectangle
Area of rectangle and perimeter can be found with the concept of class and object in ObjectOriented Programming. At first, a class called "Rectangle" is de...
-
If Statement in C
General Introduction: If statement is a powerful control statement and is used to control the flow of execution of statements in a program based on some co...
-
C Program to Execute Linear Search
General Introduction: Linear search is a searching technique where an element that is to be searched is searched linearly or sequentially. The element to b...
-
C Program to Find Gcd of Two Numbers using Iterative Euclid's Algorithm
General Introduction: In one of our previous example, we calculated the gcd of two numbers recursively using Euclid's algorithm. We can also find the gcd o...
-
C Program to Implement Binary Search
General Introduction: Binary Search is the more efficient searching technique compared to Linear Search. The binary search technique only takes 0(log n) ti...
-
Tribhuwan University's Annual Exam To Be Held After Dashain
The annual examination of Tribhuvan University (TU) will be held only after Dashain says TU. According to Pushparaj Joshi, Controller of Examinations, Exam...
-
Recursive Program to find the nth term in Fibonacci Series
Fibonacci Series: The Fibonacci series is the special series of the numbers where the next number is obtained by adding the two previous terms. The terms o...
-
Swan Song Summary
The Swan Song is generally the last performance, gesture or work done by the artist in their respective field before dying or getting retirement. And it is...
-
C Program to Implement Insertion Sort
Insertion Sort is the common sorting algorithm that we commonly use while arranging cards. In this algorithm, the elements are compared with the rest of th...
-
Recursive program to calculate the power of the base
General Idea: Recursive program to calculate the power of base using recursion We always calculate a lot of a number raised to a power in Maths. The genera...
-
Recursive Program to Find Gcd of Two Numbers
Introduction and General Idea: Gcd stands for Greatest common divisor and is the name suggest is the largest number that can divide both the numbers. 1) Gc...
-
Recursive Program to find the product of two natural numbers
Before I go straight into pseudocode and actual code in C, I just want to explain what are we doing here. So we can multiply a number with another number....