Wednesday, September 25, 2019

ADDITION OF THREE NUMBERS USING BATCH IN DOS

Here is a simple program that I wrote using DOS Batch file programming that will ask the user to give three numbers and then the program will add the sum of the three numbers and display the results on the screen.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.
My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.


My mobile number here in the Philippines is 09173084360.

My telephone number at home here in Bacolod City, Negros Occidental Philippines is  +63 (034) 4335675.

Here in Bacolod I also accepting computer repair, networking and Arduino Project development at a very affordable price.


My personal website is http://www.jakerpomperada.com.




Sample Program Output


Program Listing

sum.bat

@ECHO OFF
echo.
echo ADDITION OF THREE NUMBERS USING BATCH IN DOS
ECHO.
echo. CREATED BY MR. JAKE R. POMPERADA
echo.
ECHO Enter First Value:
SET /P a=
ECHO Enter Second Value:
SET /P b=
ECHO Enter Third Value:
SET /P c=

ECHO.
SET /A Ans=%a%+%b%+%c%
ECHO The total sum is %Ans%.
ECHO.
ECHO Press any key to exit.
PAUSE>NUL




No comments:

Post a Comment