Add-Subtract Two Integers

C/C++

Add two integers
It is very easy to add two integers but the integers must be within a specified range ( like -32768 to 32767 in Turbo C++ ). But there is no restriction of range in my "ADD.cpp". You can add two integers of desired length as long as enough memory is available. Below is the snapshot of the "Add.exe" in which first two integers are entered by the user and their sum is then displayed.


Subtract two integers
The code for this is present in "Subtract.cpp". You can subtract integers of desired length as long as enough memory is available. Below is the snapshot of the "Subtract.exe" in which first two integers are entered by the user and their diffrence is then displayed.


Compiler Used - TURBO C++ Version 3.0

Download the source code and exe files from here.


1 comment:

yaronfactor said...

Borgata Hotel Casino & Spa - DrmCD
Borgata 동두천 출장마사지 Hotel 충청남도 출장마사지 Casino & Spa. 1 Borgata Way, Atlantic City, 전주 출장마사지 NJ 강원도 출장마사지 08401. 1-855-9946 Borgata Hotel Casino & Spa. 1 Borgata Way, Atlantic City, NJ 김해 출장샵 08401.