Ad Code

Responsive Advertisement

Arithmetic Operation in C

 Welcome back guys...😍

In previous blog we have seen "Hello World" program . So lets start with our second programm.
Today we are going to see some basic calculus in programming.

 In day to day life we are using calculators for addition , multiplication , subtraction , division etc.
In this blog we are going to see Arithmetic operation by using programming.
Operation like multiplication , addition etc are very easy in programming , we have to remember some logics in Arithmetic operation.

Arithmetic operation Logics.

>  Addition - 
e.g - we to have remember this logic c = a+b 
 
----->  ( user will decide values a ,b , c )
What is a , b , c ?
a & b is number which we want to add and c is addition of two numbers.

Same logic for multiplication , subtraction & division .☝
multiplication - c = a*b
subtraction - c = a-b
Division - c = a/b

Before going to our programm , lets introduce about Codeblocks , is  software which is best for 
programming. ( its my personal opinion )
 
To download Codeblocks software link is given below. 

click on this link 👇 to download Codeblocks .


    Programm :

     Output :


    So its pretty easy to write code for Arithmetic Operation.
    I hope you guys are understand.

    Note : If you have any doubts , please let me know. and stay tuned 

    Leave a Comment....😇


Post a Comment

1 Comments

If you have any doubts, Please let me know.

Ad Code

Responsive Advertisement