Arithmetic Operators

in Hindi - Arithmetic Operators



C++ Programming में ६ प्रकार के Operators होते है |
1. Arithmetic Operators(+,-,*,/)
2. Relational Operators(<,>,<=,>=,==,!=)
3. Bitwise Operators(|,&,~,^,<<,>>)
4. Logical Operators(&&,||,!)
5. Assignment Operators(=,<=,>=,|=,+=,-=,*=,/=,&=,^=)
6. Increment/Decrement (++/--)

C++ Programming में पांच प्रकार के Arithmetic Operators होते है |
1. Addition(+)
2. Subtraction(-)
3. Multiplication(*)
4. Division(/)
5. Modulus(%)


Source Code :

RUN#include <iostream.h>
#include <conio.h>

int main() {

int a,b,c;

cout<<"Enter two numbers";
cin>>a>>b;

c=a+b;
cout<<"
Addition of a and b is "<<c;

c=a-b;
cout<<"
Subtraction of a and b is "<<c;

c=a*b;
cout<<"
Multiplication of a and b is "<<c;

c=a/b;
cout<<"
Division of a and b is "<<c;

return 0;

}