Thread
:
Help... Programming
View Single Post
Help... Programming
Reply
Posted 2007-10-15, 02:14 PM
I was trying to write a very simply math program in batch because I just want t divide two numbers but I haven't done this sort of easy programming in a long time.
Anyway,does anyone know how to make a batch program that accepts two different inputs, divides them an shows the output?
@echo off
Set First = INPUT
Set Second = INPUT
Set Result = First + Second
PRINT Result
pause
Thats what I had but it sucks.
Profile
PM
WWW
Search
-Spector-