News In A Snap!!


C++ Programs: Find the Largest Palindrome made from the Product of Two 3-digit Numbers

What is a Palindrome? A word, phrase, or sequence that reads the same backwards as forwards, e.g. madam or nurses run. Code

C++ Programs: Kruskal’s Algorithm

What is Kruskal's Algorithm? Kruskal's algorithm is a greedy algorithm in graph theory that finds a minimum spanning tree for a connected weighted graph. This means it finds a subset of the edges that forms a tree that includes every vertex, where the total weight of all the edges in the tree is minimized. Code Output

C++ Programs: Find GCD of Two Numbers

What is GCD? In mathematics, the greatest common divisor (gcd) of two or more integers, when at least one of them is not zero, is the largest positive integer that divides the numbers without a remainder. For example, the GCD of 8 and 12 is 4. Code Output

C++ Programs: Generate a Fibonacci Series

What is Fibonacci Series? A series of numbers in which each number ( Fibonacci number ) is the sum of the two preceding numbers. The simplest is the series 1, 1, 2, 3, 5, 8, etc. Code Output:

C++ Programs: Calculate Factorial using Recursion

  What is Factorial? In mathematics, the factorial of a non-negative integer n, denoted by n!, is the product of all positive integers less than or equal to n. For example, The value of 0! is 1, according to the convention for an empty product, factorial four ( 4! ) is equal to 24. Code Output:

C++ Programs: Employee Records using Class Objects

Code Output:

C++ Programs: Implement Double link list

What is a Double Link List? In computer science, a doubly-linked list is a linked data structure that consists of a set of sequentially linked records called nodes. Each node contains two fields, called links, that are references to the previous and to the next node in the sequence of nodes. Code Output:

C++ Programs: Add/Subtract Complex Numbers

 What is a Complex Number? A complex number is a number that can be expressed in the form a + bi, where a and b are real numbers and i is the imaginary unit, that satisfies the equation x2 = −1, that is, i2 = −1. In this expression, a is the real part and b is the imaginary part of the complex number. Code Output:

C++ Programs: Bubble Sort

What is Bubble Sort? Bubble sort, sometimes referred to as sinking sort, is a simple sorting algorithm that repeatedly steps through the list to be sorted, compares each pair of adjacent items and swaps them if they are in the wrong order. Code Output:

C++ Programs: Find an Armstrong Number

What is an Amstrong Number? An Armstrong number is a number such that the sum of its digits raised to the third power is equal to the number itself. For example, 371 is an Armstrong number, since 3**3 + 7**3 + 1**3 = 371. Code Output | Get Tech Addicted...
About Us | Contact Us | ©2017