Introduction
- I have explained in this article about an arithmetic operation in a simple manner and in a way you can clearly understand so as to learn it.
Software Requirements
- Turbo C++ OR C
Programming
- #include <stdio.h>
- int main()
- {
- int first, second, add, subtract, multiply;
- float divide;
- printf("Enter two integers\n");
- scanf("%d%d", &first, &second);
- add = first + second;
- subtract = first - second;
- multiply = first * second;
- divide = first / (float)second;
- printf("Sum = %d\n",add);
- printf("Difference = %d\n",subtract);
- printf("Multiplication = %d\n",multiply);
- printf("Division = %.2f\n",divide);
- return 0;
- }
- Here I have upload the program exactly how the operation is performed, in a simple manner.
Output

Conclusion

Conclusion
- Thus the program has been created succesfully.

Shobana JPosted Jul 6, 2016, 7:46 AM
Thank you bro
RajaPosted Jul 4, 2016, 12:44 AM
Good one...
kalu singh raoPosted Jul 3, 2016, 4:20 AM
Nice...
Vignesh ManiPosted Jul 2, 2016, 11:51 AM
Good one