C++ Program to Add Two Matrices

In this tutorial, we will write a C++ program to add two matrices using multi-dimensional arrays. To understand the coding, you should have knowledge of the following topics in C++ programming: C++ Arrays C++ loops The program takes the user input for the number of rows and columns then the elements for both the matrices. … Read more

Flowchart – Advantages and Disadvantages

In this section, we will study the advantages of flowchart and also the disadvantages of flowchart. Let us start by understanding what is flowchart. A flowchart is a graphical representation of a programming language code so to relate the relations among functions. To simply the problem before coding, the programmer draws a building block with … Read more

Basic Applications Of Computer

This article focuses on the basic applications of computers, listing their uses in different fields. We will go through the details of how they are useful in their respective fields. A computer is an electronic device through which we can perform various tasks. The following are some of the applications of computers: Business application Scientific … Read more

C++ Program to Calculate Average Percentage Marks

In this tutorial, you will learn to write a code on how to calculate the average percentage marks in C++. You may go through the following topics in C++: C++ operator C++ loop We will do calculate the total marks, average, and then the percentage of the subjects entered by the user. The program also … Read more

C Program to Swap Two Numbers

In this tutorial, we will learn how to swap two numbers in C program. Before that, if you may go through the following topics in C that are used in this program. C Program to Swap Two Numbers using temporary variable The program takes two number inputs from the user that needed to be swapped. … Read more

C Program to Convert Fahrenheit to Celsius

In this tutorial, we will write a C Program to convert Fahrenheit into Celsius. Let us start by understanding the formula for the conversion of Fahrenheit into Celsius. Fahrenheit and Celsius, both are the unit for measuring the temperature. Fahrenheit is represented by oF and Celsius by oC. Formula to convert Fahrenheit into Celsius celsius … Read more

Infix to Postfix Conversion in C Program using Stack

Stack is very useful for storing data in the manner of the stack. It s useful when comes to the conversion of arithmetic expressions in high-level programming languages into machine-readable form. There are some complicated arithmetic expressions such as (A+B)*C(D/(E+D)). This form can be converted into polish notation using stack. Infix and Postfix Expression Infix … Read more