A Simple C Program for Mathematical Calculation

How to do Mathematics with C Language

This is a program to do simple arithmetic operations Addition, Subtraction and Multiplication of a given number, in this program we are not taking numbers as input from the user, instead we will pre-define it within the program using a ‘int’ variable to make this C program simpler for beginners.

So, lets take a look at the source code of this C program this arithmetic operations.


The Output for this Program will be


In this simple C program we can do some modifications to check for smaller number and then do the subtraction from large number, we will do that in next program.

You can also Mathematics C Program to use it, and let me know if you face any issue with this program by leaving a comment below.

0 Responses on A Simple C Program for Mathematical Calculation|

    Leave a Message

    Your email address will not be published. Required fields are marked *

    CommentLuv badge

    Pin It on Pinterest