Make A Bat File
my teacher often assigigns us problems and has us to every third or forth, etc. and i was wondering if somoen could make me a bat file that lets you put in the starting number and ending number and i can tell it if i wanna count by threes or fours, etc.. thank you
0
Comments
First figure it out and do it yourself it's a great way to learn things. Having one of us do it for you won't help you at all, especially if the teacher asks you to explain what you've done.
Second why do a bat file, is this the requirement of the project? This could easily be done in a spreadsheet or even with simple math if your only problem is to figure out how many times 3 or 4 goes into a range of numbers.
Some tips to your bat file.....Bat files can't do math. They can only count by 1's so you have to keep droping the result to a text file and pulling it back in. When the text file equals a certain number you can then drop it to another text file and set up a counter so you keep measuring in one test file and updating the counter in the other. Then compare against your total. Seriously and it's even more difficult then it sounds, huge, HUGE, HUGE pain in the ass.
Genius