In Mathematics the formula for SUM is a+b=c.
But our machine doesn't know mathematical equations.
Here is the simple code to add Two numbers in the C program
Let's take two inputs from the user.
For that, we have to read the value given by the user to do this, and we have to use scanf.
It reads the user input and stores it in a variable.
So here is the code for user input and adding two integers.
Like the above example, we can do Subtraction (-), Multiplication (*), and Division(/) operations by replacing the + sign with the -, *, and / symbols.
Thank you.
Try and write your query.