Quadratic equations are in the form- a(x*x) + b(x) + c =0. Finding the value of x which satisfies the equation are called roots. Let's find them using C++ program.
Floyd's triangle, named after Rober Floyd. It is a right-angled triangle or triangular array, which is made using natural numbers. Let's create a C++ program to print this pattern.
Pascal's triangle is a number pattern in the form of an array constructed by summing adjacent elements in preceding rows. Let's create them using a C++ program.