Calculating Factorial in C++

Calculating Factorial in C++

We will use C++ to write programs to calculate the factorial of a number. We will take the number as an input from the user and then print the factorial of that number in the console. We will use two methods to calculate the factorial of the number, the first is by performing iteration with the help of loops, and the second is by using recursion.

Working with C++ Arrays-min

Working with C++ Arrays

Arrays in C++ are one of the most important user-defined data types in C++. They can be used to store a large amount of data of the same data type sequentially. C++ also supports N-Dimensional arrays that can be used for problem-solving in scientific computing. For example, we can use the 2-Dimensional array of C++ to create a matrix, and they have wide usage in NLP, Machine Learning, and Artificial Intelligence. If you want to know more about the basics of c++ arrays, you can follow our step-by-step beginner guide on arrays in C++.

What is Laravel

What is Laravel?

Laravel is a solid and easy-to-understand open-source PHP framework. The design pattern is model-view-controller. Laravel reuses existing components from several frameworks to aid in the development of web applications. The resulting web application is more organized and practical.

Plotting in Python

How to plot in Python

In this article, we illustrate how to use each of the four most popular Python plotting libraries—Matplotlib, Seaborn, Plotly, and Bokeh—as well as a couple of promising newcomers: Altair, with its expressive API, and Pygal, with its beautiful SVG performance. We’ll also take a look at pandas’ extremely useful plotting API.

Inheritance in Java

Inheritance in Java

Inheritance is one of the core concepts of an object-oriented language such as Java. Inheritance allows a new class to extend from an existing class known as the parent class. So when do we use inheritance? Consider a scenario where a vehicle describes a very general transportation model, then comes a car, bicycle, and truck.

Finding the second largest value of a Python List

How to find the second largest value of a Python List

Python list is one of the most useful data structures of Python. It is very similar to the arrays in Javascript and C++. However, like the multidimensional arrays, we can also create multidimensional lists known as nested lists. In this tutorial, we discussed four amazing methods for finding the second largest number of a python list.

HTML horizontal line
|

HTML horizontal line

Let’s take some time today and discuss this awesome feature in HTML “horizontal line.” First of all, you may need to know if HTML “horizontal line” is a tag or an attribute. You can find more about HTML attributes well explained here. In this case, the HTML horizontal line is a block-level element or, in other words, a tag.