Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: School batch program.(math)  (Read 14641 times)

0 Members and 1 Guest are viewing this topic.

cdh473

    Topic Starter


    Greenhorn

    School batch program.(math)
    « on: May 09, 2009, 06:54:38 AM »
    Ok. So i have a created a program called SolutionFinder, and I would like for you guys to tell me if it's any good.
    My teacher saw me programming in class one day and said "Hey, I need a programmer for something." We talked about it then she said she needed a program that actually figures out the solution to an equation, for example,
    10x+10=10+10. So it would need to find X, and x would = 1. But she wanted it to show the work. So then I had to make it do this instead:   10x+10=10+10
                                            10x+10=20
                                                   -10 -10
                                                   10x=10
                                                   /10  /10
                                                      X=1
    Now, I decided to do this because it would make me do my homework a WHOLE lot faster, considering the fact the we would only get half credit for not showing work. Here is the program: [Download Link Removed]

    ***Only the first 3 formats work!***













    « Last Edit: May 09, 2009, 06:59:41 AM by Carbon Dudeoxide »

    Carbon Dudeoxide

    • Global Moderator

    • Mastermind
    • Thanked: 169
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Experience: Guru
    • OS: Mac OS
    Re: School batch program.(math)
    « Reply #1 on: May 09, 2009, 07:00:28 AM »
    If it's a Batch program, can't you post the code?

    I removed the link because:
    1. It was a rapidshare link
    2. It was an .exe file
    3. You're new here

    Helpmeh



      Guru

    • Roar.
    • Thanked: 123
      • Yes
      • Yes
    • Computer: Specs
    • Experience: Familiar
    • OS: Windows 8
    Re: School batch program.(math)
    « Reply #2 on: May 09, 2009, 09:24:48 AM »
    If it's a Batch program, can't you post the code?

    I removed the link because:
    1. It was a rapidshare link
    2. It was an .exe file
    3. You're new here
    What's so bad about rapidshare?
    Where's MagicSpeed?
    Quote from: 'matt'
    He's playing a game called IRL. Great graphics, *censored* gameplay.

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: School batch program.(math)
    « Reply #3 on: May 09, 2009, 09:25:19 AM »
    Aside from the fact that it blows?
    I was trying to dereference Null Pointers before it was cool.

    Carbon Dudeoxide

    • Global Moderator

    • Mastermind
    • Thanked: 169
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Experience: Guru
    • OS: Mac OS
    Re: School batch program.(math)
    « Reply #4 on: May 09, 2009, 09:28:57 AM »
    Another list:

    1. We have an uploading system
    2. There are other uploading websites
    3. Perfect place for a virus

    Carbon Dudeoxide

    • Global Moderator

    • Mastermind
    • Thanked: 169
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Experience: Guru
    • OS: Mac OS
    Re: School batch program.(math)
    « Reply #5 on: May 09, 2009, 09:29:36 AM »
    Aside from the fact that it blows?

     ;)

    cdh473

      Topic Starter


      Greenhorn

      Re: School batch program.(math)
      « Reply #6 on: May 09, 2009, 10:26:00 AM »
      So how am i supposed to get a link on here? I mean, I converted it to .exe so you wouldn't see the source code, but uhh... is there any site u guys will let me link it to?

      Carbon Dudeoxide

      • Global Moderator

      • Mastermind
      • Thanked: 169
        • Yes
        • Yes
        • Yes
      • Certifications: List
      • Experience: Guru
      • OS: Mac OS
      Re: School batch program.(math)
      « Reply #7 on: May 09, 2009, 10:27:32 AM »
      So we can't see the source code? ROFL

      I'm afraid you will have to post the source code or don't post it at all.

      Helpmeh



        Guru

      • Roar.
      • Thanked: 123
        • Yes
        • Yes
      • Computer: Specs
      • Experience: Familiar
      • OS: Windows 8
      Re: School batch program.(math)
      « Reply #8 on: May 09, 2009, 10:28:32 AM »
      Another list:

      1. We have an uploading system                   (Size and extension restrictions)
      2. There are other uploading websites          (how does that make rapidshare bad)
      3. Perfect place for a virus                              (same with all the others...)
      Where's MagicSpeed?
      Quote from: 'matt'
      He's playing a game called IRL. Great graphics, *censored* gameplay.

      Carbon Dudeoxide

      • Global Moderator

      • Mastermind
      • Thanked: 169
        • Yes
        • Yes
        • Yes
      • Certifications: List
      • Experience: Guru
      • OS: Mac OS
      Re: School batch program.(math)
      « Reply #9 on: May 09, 2009, 10:31:49 AM »
      Another list:

      1. We have an uploading system                   (Size and extension restrictions)
      2. There are other uploading websites          (how does that make rapidshare bad)
      3. Perfect place for a virus                              (same with all the others...)


      Okay, try Cdh473's program. Get infected. See what I care.

      Helpmeh



        Guru

      • Roar.
      • Thanked: 123
        • Yes
        • Yes
      • Computer: Specs
      • Experience: Familiar
      • OS: Windows 8
      Re: School batch program.(math)
      « Reply #10 on: May 09, 2009, 10:33:40 AM »
      Okay, try Cdh473's program. Get infected. See what I care.
      Was I protecting the OP's program? No
      Was I protecting rapidshare? Yes
      Where's MagicSpeed?
      Quote from: 'matt'
      He's playing a game called IRL. Great graphics, *censored* gameplay.

      Carbon Dudeoxide

      • Global Moderator

      • Mastermind
      • Thanked: 169
        • Yes
        • Yes
        • Yes
      • Certifications: List
      • Experience: Guru
      • OS: Mac OS
      Re: School batch program.(math)
      « Reply #11 on: May 09, 2009, 10:38:26 AM »
      *sigh*

      Ok, what do you like about rapidshare?

      Helpmeh



        Guru

      • Roar.
      • Thanked: 123
        • Yes
        • Yes
      • Computer: Specs
      • Experience: Familiar
      • OS: Windows 8
      Re: School batch program.(math)
      « Reply #12 on: May 09, 2009, 10:41:59 AM »
      *sigh*

      Ok, what do you like about rapidshare?
      What do you not like about rapidshare. I don't use it much, but I was just wondering what you have against it...other than these...

      1. We have an uploading system                   (Size and extension restrictions)
      2. There are other uploading websites          (how does that make rapidshare bad)
      3. Perfect place for a virus                              (same with all the others...)
      Where's MagicSpeed?
      Quote from: 'matt'
      He's playing a game called IRL. Great graphics, *censored* gameplay.

      Carbon Dudeoxide

      • Global Moderator

      • Mastermind
      • Thanked: 169
        • Yes
        • Yes
        • Yes
      • Certifications: List
      • Experience: Guru
      • OS: Mac OS
      Re: School batch program.(math)
      « Reply #13 on: May 09, 2009, 10:45:24 AM »
      Well for one, the darned time limit thing.

      Anyways, that is besides the point. This topic is not about Rapidshare, but Cdh473

      Helpmeh



        Guru

      • Roar.
      • Thanked: 123
        • Yes
        • Yes
      • Computer: Specs
      • Experience: Familiar
      • OS: Windows 8
      Re: School batch program.(math)
      « Reply #14 on: May 09, 2009, 10:50:11 AM »
      Well for one, the darned time limit thing.
      That I must agree with...anyway...I think I could check it with VirusTotal...but I'd have to download it first.
      Where's MagicSpeed?
      Quote from: 'matt'
      He's playing a game called IRL. Great graphics, *censored* gameplay.

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: School batch program.(math)
      « Reply #15 on: May 09, 2009, 12:35:06 PM »
      I on the other hand am not wasting my time downloading an EXE and grabbing the batch code in 5 minutes when it could simply be given here.
      I was trying to dereference Null Pointers before it was cool.

      macdad-



        Expert

        Thanked: 40
        Re: School batch program.(math)
        « Reply #16 on: May 09, 2009, 01:50:55 PM »
        We dont even know if its supposed to do what you say its supposed to do, since for one thing it could be a virus(not that we don't trust you its that your kinda stalling about the source code which seems suspicious)
        If you dont know DOS, you dont know Windows...

        Thats why Bill Gates created the Windows NT Family.

        Xenfire



          Rookie

          Thanked: 1
          Re: School batch program.(math)
          « Reply #17 on: May 09, 2009, 04:08:22 PM »
          Agreed.
          We can't help you here unless you post the source code.
          How else are we supposed to help you our if we can't see if you have any problems?
          Plus you only have 2 posts, so you aren't trusted much.

          Helpmeh



            Guru

          • Roar.
          • Thanked: 123
            • Yes
            • Yes
          • Computer: Specs
          • Experience: Familiar
          • OS: Windows 8
          Re: School batch program.(math)
          « Reply #18 on: May 09, 2009, 04:09:30 PM »
          I trust this person less than anyone on /b/.
          Where's MagicSpeed?
          Quote from: 'matt'
          He's playing a game called IRL. Great graphics, *censored* gameplay.

          Xenfire



            Rookie

            Thanked: 1
            Re: School batch program.(math)
            « Reply #19 on: May 09, 2009, 04:11:40 PM »
            i trust /b/ with my life
            Like that time they told me to delete system32

            Helpmeh



              Guru

            • Roar.
            • Thanked: 123
              • Yes
              • Yes
            • Computer: Specs
            • Experience: Familiar
            • OS: Windows 8
            Re: School batch program.(math)
            « Reply #20 on: May 09, 2009, 04:24:22 PM »
            i trust /b/ with my life
            Like that time they told me to delete system32
            I was told that I should type FORMAT C: on the command prompt once...
            Where's MagicSpeed?
            Quote from: 'matt'
            He's playing a game called IRL. Great graphics, *censored* gameplay.

            Geek-9pm


              Mastermind
            • Geek After Dark
            • Thanked: 1026
              • Gekk9pm bnlog
            • Certifications: List
            • Computer: Specs
            • Experience: Expert
            • OS: Windows 10
            Re: School batch program.(math)
            « Reply #21 on: May 09, 2009, 04:28:57 PM »
            The original poet was about  solving a math problem using a computer.

            This sort of thing is sometimes called Algebra Solution Software.
            Did the professor want him to write the program or to find one already written? There are lots ready to use programs. Some with tutorial ans graphics to help teach. Some free. Many not.

            Google Algebra Solution

            cdh473

              Topic Starter


              Greenhorn

              Re: School batch program.(math)
              « Reply #22 on: May 10, 2009, 07:09:56 AM »
              well... i have absolutely NO IDEA how to make one autorun so...yeah..... i couldn't do that even if i wanted to.

              Carbon Dudeoxide

              • Global Moderator

              • Mastermind
              • Thanked: 169
                • Yes
                • Yes
                • Yes
              • Certifications: List
              • Experience: Guru
              • OS: Mac OS
              Re: School batch program.(math)
              « Reply #23 on: May 10, 2009, 07:12:46 AM »
              We didn't say anything about an autorun......

              Geek-9pm


                Mastermind
              • Geek After Dark
              • Thanked: 1026
                • Gekk9pm bnlog
              • Certifications: List
              • Computer: Specs
              • Experience: Expert
              • OS: Windows 10
              Re: School batch program.(math)
              « Reply #24 on: May 10, 2009, 07:48:30 AM »
              Solving an algebra problem is often in two areas:
              1. Some variation of one or more a linear equations.
              2. Solving a quadratic equation, which boils down to factoring.

              The linear equations are rather straight forward.
              The other kind is piratically guessing at the answer.

              The are computer programs that do both.
              Some are free. Many are sold or rented as "Homework Cheats".
              look at this:
              http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=Tyo&q=Algebra+Cheat+free&btnG=Search

              Some of the great mathematicians felt that building a machine to solve huge t problems was a worthy goal of their study. Does your professor agree with that?

              BC_Programmer


                Mastermind
              • Typing is no substitute for thinking.
              • Thanked: 1140
                • Yes
                • Yes
                • BC-Programming.com
              • Certifications: List
              • Computer: Specs
              • Experience: Beginner
              • OS: Windows 11
              Re: School batch program.(math)
              « Reply #25 on: May 10, 2009, 09:02:46 AM »
              for some reason I'm suddenly reminded of the quadratic formula,

              ax^2 + bx + c = 0

              which can be factored with:

              (-B+-SQR(B^2-4*A*C)/(2*A)

              which can return both X intercepts of a parabola if they exist.

              I was trying to dereference Null Pointers before it was cool.

              Geek-9pm


                Mastermind
              • Geek After Dark
              • Thanked: 1026
                • Gekk9pm bnlog
              • Certifications: List
              • Computer: Specs
              • Experience: Expert
              • OS: Windows 10
              Re: School batch program.(math)
              « Reply #26 on: May 10, 2009, 09:30:16 AM »
              Quote
              for some reason I'm suddenly reminded of the quadratic formula..

              It's all coming back to be now...

              macdad-



                Expert

                Thanked: 40
                Re: School batch program.(math)
                « Reply #27 on: May 10, 2009, 03:05:46 PM »
                He may be saying a completely different problem he wants to solve that may be irrelevant to Algebra.
                If you dont know DOS, you dont know Windows...

                Thats why Bill Gates created the Windows NT Family.

                Geek-9pm


                  Mastermind
                • Geek After Dark
                • Thanked: 1026
                  • Gekk9pm bnlog
                • Certifications: List
                • Computer: Specs
                • Experience: Expert
                • OS: Windows 10
                Re: School batch program.(math)
                « Reply #28 on: May 10, 2009, 03:29:00 PM »
                Quote
                We talked about it then she said she needed a program that actually figures out the solution to an equation, for example,
                10x+10=10+10.
                This is what he first posted. It was to solve an equation where some values are know, but one item remains unknown.
                x= (10+10) /(10+10)      is a match problem. Only one X by itself.
                10x+10=10+10               is an algebra problem. X is not by itself.
                x = (10+10)/10x+10)      is an algebra problem. More than one X




                Helpmeh



                  Guru

                • Roar.
                • Thanked: 123
                  • Yes
                  • Yes
                • Computer: Specs
                • Experience: Familiar
                • OS: Windows 8
                Re: School batch program.(math)
                « Reply #29 on: May 10, 2009, 03:31:16 PM »
                This is what he first posted. It was to solve an equation where some values are know, but one item remains unknown.
                x= (10+10) /(10+10)      is a match problem. Only one X by itself.
                10x+10=10+10               is an algebra problem. X is not by itself.
                x = (10+10)/10x+10)      is an algebra problem. More than one X




                (10x+10)
                Where's MagicSpeed?
                Quote from: 'matt'
                He's playing a game called IRL. Great graphics, *censored* gameplay.

                Geek-9pm


                  Mastermind
                • Geek After Dark
                • Thanked: 1026
                  • Gekk9pm bnlog
                • Certifications: List
                • Computer: Specs
                • Experience: Expert
                • OS: Windows 10
                Re: School batch program.(math)
                « Reply #30 on: May 10, 2009, 08:26:58 PM »
                Quote
                (10x+10)
                Well... Never did get straight As in that class.
                (Actually, I flunked the first  year.)

                Ironman



                  Hopeful
                • Virtus, Veneratio, Fidelitas
                • Thanked: 15
                  • Yes
                  • My Personal Site
                • Certifications: List
                • Computer: Specs
                • Experience: Expert
                • OS: Windows 10
                Re: School batch program.(math)
                « Reply #31 on: May 13, 2009, 04:50:57 PM »
                What happened to cdh473? Looks like he doesn't need our help anymore....hmm...


                Helpmeh



                  Guru

                • Roar.
                • Thanked: 123
                  • Yes
                  • Yes
                • Computer: Specs
                • Experience: Familiar
                • OS: Windows 8
                Re: School batch program.(math)
                « Reply #32 on: May 14, 2009, 05:39:24 AM »
                What happened to cdh473? Looks like he doesn't need our help anymore....hmm...
                That's because he knows that we know that he knows... in the end: He knows we know.
                Where's MagicSpeed?
                Quote from: 'matt'
                He's playing a game called IRL. Great graphics, *censored* gameplay.

                Xenfire



                  Rookie

                  Thanked: 1
                  Re: School batch program.(math)
                  « Reply #33 on: May 14, 2009, 04:39:27 PM »
                  because that makes sense..

                  Helpmeh



                    Guru

                  • Roar.
                  • Thanked: 123
                    • Yes
                    • Yes
                  • Computer: Specs
                  • Experience: Familiar
                  • OS: Windows 8
                  Re: School batch program.(math)
                  « Reply #34 on: May 15, 2009, 08:00:26 PM »
                  because that makes sense..
                  But you see, if he knows we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know that he knows that we know...


                  Anyway, it is a failed attempt at putting a virus on our systems...
                  Where's MagicSpeed?
                  Quote from: 'matt'
                  He's playing a game called IRL. Great graphics, *censored* gameplay.

                  cdh473

                    Topic Starter


                    Greenhorn

                    Re: School batch program.(math)
                    « Reply #35 on: May 17, 2009, 03:20:25 PM »
                    blargh wth ill put the source code


                    @echo off
                    title SolutionFinder
                    color c
                    cls
                    :login
                    call solutionfinderauthorization.bat
                    cls
                    if %action% == ***codenotshowable*** goto start
                    exit
                    :start
                    echo Please choose what you would like to do.
                    echo.
                    echo 1.Find a solution
                    echo 2.Exit
                    set /p action=
                    cls
                    if %action% == 1 goto SFbegin
                    if %action% == 2 exit
                    set return=start
                    goto errorpage
                    :errorpage
                    echo Sorry, but your answer was invalid.
                    pause >nul
                    cls
                    goto %return%
                    :SFbegin
                    echo Choose an equation format.
                    echo X is the actual variable, where Y is a predefined number,
                    echo and O is an operation.
                    echo.
                    echo 1. YOY=X
                    echo 2. YOX=Y
                    echo 3. Y(X)OY=YOY
                    echo 4. YOXOY=Y
                    set /p action=
                    cls
                    if %action% == 1 goto yoyisx
                    if %action% == 2 goto yoxisy
                    if %action% == 3 goto y*xoyisyoy
                    if %action% == 4 goto yoxoyisy
                    set return=SFbegin
                    goto errorpage
                    :yoyisx
                    echo Enter your first predefined number.
                    set /p action=
                    cls
                    set yone=%action%
                    echo Enter your operation. Subtract=-;Add=+;Multiply=*;Divide=/
                    set /p action=
                    set oone=%action%
                    cls
                    echo Enter your second predefined number.
                    set /p action=
                    cls
                    set ytwo=%action%
                    set /a answer=%yone% %oone% %ytwo%
                    echo You got %answer%.
                    pause >nul
                    cls
                    goto start
                    :yoxisy
                    echo Enter your first predefined number.
                    set /p yone=
                    cls
                    echo Enter your operation. Subtract=-;Add=+;Multiply=*;Divide=/
                    set /p oone=
                    if %oone% == + set ooneopposite=-
                    if %oone% == - set ooneopposite=+
                    if %oone% == * set ooneopposite=/
                    if %oone% == / set ooneopposite=*
                    cls
                    echo Enter your second predefined number.
                    set /p ytwo=
                    cls
                    if %oone% == - set /a answer=%yone% %oone% %ytwo%
                    if %oone% == / set /a answer=%yone% %oone% %ytwo%
                    if %oone% == + set /a answer=%ytwo% %ooneopposite% %yone%
                    if %oone% == * set /a answer=%ytwo% %ooneopposite% %yone%
                    if %oone% == - goto yoxisynegative
                    if %oone% == / goto yoxisynegative
                    if %oone% == * goto yoxisypositive
                    if %oone% == + goto yoxisypositive
                    :yoxisypositive
                    echo Here is the answer, with the work.
                    echo.
                    echo %yone%%oone%X=%ytwo%
                    echo.
                    echo %ytwo%%ooneopposite%%yone%
                    echo.
                    echo So the answer is X=%answer%.
                    echo.
                    pause
                    cls
                    goto start
                    :yoxisynegative
                    echo Here is the answer, with the work.
                    echo.
                    echo %yone%%oone%X=%ytwo%
                    echo.
                    echo %yone%%oone%%ytwo%=%answer%
                    echo.
                    echo So the answer is X=%answer%.
                    pause >nul
                    cls
                    goto start
                    :y*xoyisyoy
                    echo Enter your first predefined number.
                    set /p yone=
                    cls
                    echo %yone%x
                    echo Enter your second operation. Subtract=-;Add=+;Multiply=*;Divide=/
                    set /p oone=
                    cls
                    echo %yone%x%oone%
                    echo Enter your second predefined number.
                    set /p ytwo=
                    cls
                    echo %yone%x%oone%%ytwo%=
                    echo Enter your third predefined number.
                    set /p ythree=
                    cls
                    echo %yone%x%oone%%ytwo%=%ythree%
                    echo Enter your third operation. Subtract=-;Add=+;Multiply=*;Divide=/
                    set /p otwo=
                    cls
                    echo %yone%x%oone%%ytwo%=%ythree%%otwo%
                    echo Enter your last(fourth) predefined number.
                    set /p yfour=
                    cls
                    if %oone% == * set ooneopposite=/
                    if %oone% == / set ooneopposite=*
                    if %oone% == - set ooneopposite=+
                    if %oone% == + set ooneopposite=-
                    if %otwo% == * set otwoopposite=/
                    if %otwo% == / set otwoopposite=*
                    if %otwo% == - set otwoopposite=+
                    if %otwo% == + set otwoopposite=-
                    set /a secondhalfofanswer=%ythree% %otwo% %yfour%
                    set /a extraoperationsolve=%secondhalfofanswer% %ooneopposite% %ytwo%
                    set /a answer=%extraoperationsolve% / %yone%
                    echo %yone%x%oone%%ytwo%=%ythree%%otwo%%yfour%
                    echo.
                    echo %yone%x%oone%%ytwo%=%secondhalfofanswer%
                    echo   %ooneopposite%%ytwo%     %ooneopposite%%ytwo%
                    echo    %yone%x  =  %extraoperationsolve%
                    echo    /%yone%     /%yone%
                    echo     x       =  %answer%
                    echo.
                    echo So the answer is X=%answer%.
                    pause >nul
                    cls
                    goto start
                    :yoxoyisy
                    echo Enter your first predefined number.
                    set /p yone=
                    cls
                    echo %yone%
                    echo Enter your first operation.
                    set /p oone=
                    cls
                    echo %yone%%oone%X
                    echo Enter your second operation.
                    set /p otwo=
                    cls
                    echo %yone%%oone%X%otwo%
                    echo Enter your second predefined number.
                    set /p ytwo=
                    cls
                    echo %yone%%oone%X%otwo%%ytwo%=
                    echo Enter your last(third)predefined number.
                    set /p ythree=
                    cls
                    if %oone% == / set ooneopposite=*
                    if %oone% == * set ooneopposite=/
                    if %oone% == + set ooneopposite=-
                    if %oone% == - set ooneopposite=+
                    if %otwo% == / set otwoopposite=*
                    if %otwo% == * set otwoopposite=/
                    if %otwo% == + set otwoopposite=-
                    if %otwo% == - set otwoopposite=+
                    set /a firstiso=%ythree% %otwoopposite% %ytwo%
                    set /a secondiso=%firstiso% %ooneopposite% %yone%
                    set answer=%secondiso%
                    echo %yone%%oone%X%otwo%%ytwo%=%ythree%
                    echo   %otwoopposite%%ytwo% %otwoopposite%%ytwo%
                    echo  %yone%%oone%X   %firstiso%
                    echo    %ooneopposite%%yone% %ooneopposite%%yone%
                    echo    X = %answer%
                    echo.
                    echo So the answer is X=%answer%.
                    pause >nul
                    cls
                    goto start




                    macdad-



                      Expert

                      Thanked: 40
                      Re: School batch program.(math)
                      « Reply #36 on: May 17, 2009, 04:14:23 PM »
                      Quote
                      ***code not showable***

                      Somethings up....
                      If you dont know DOS, you dont know Windows...

                      Thats why Bill Gates created the Windows NT Family.

                      cdh473

                        Topic Starter


                        Greenhorn

                        Re: School batch program.(math)
                        « Reply #37 on: May 17, 2009, 04:27:24 PM »
                        how.....

                        That just had something
                        you didnt need to see
                        that part of the code wasn't needed
                        ...*censored* could be up close

                        Helpmeh



                          Guru

                        • Roar.
                        • Thanked: 123
                          • Yes
                          • Yes
                        • Computer: Specs
                        • Experience: Familiar
                        • OS: Windows 8
                        Re: School batch program.(math)
                        « Reply #38 on: May 18, 2009, 06:47:50 PM »
                        how.....

                        That just had something
                        you didnt need to see
                        that part of the code wasn't needed
                        ...*censored* could be up close
                        We didn't need to see? If you post the source, you post the WHOLE thing. And why do we not need to see it?


                        Anyway, WolframAlpha can do this online, no need to download anything.
                        Where's MagicSpeed?
                        Quote from: 'matt'
                        He's playing a game called IRL. Great graphics, *censored* gameplay.

                        BC_Programmer


                          Mastermind
                        • Typing is no substitute for thinking.
                        • Thanked: 1140
                          • Yes
                          • Yes
                          • BC-Programming.com
                        • Certifications: List
                        • Computer: Specs
                        • Experience: Beginner
                        • OS: Windows 11
                        Re: School batch program.(math)
                        « Reply #39 on: May 18, 2009, 07:24:01 PM »
                        It's probably just a password. not really needed for debugging.
                        I was trying to dereference Null Pointers before it was cool.

                        Helpmeh



                          Guru

                        • Roar.
                        • Thanked: 123
                          • Yes
                          • Yes
                        • Computer: Specs
                        • Experience: Familiar
                        • OS: Windows 8
                        Re: School batch program.(math)
                        « Reply #40 on: May 18, 2009, 07:27:11 PM »
                        It's probably just a password. not really needed for debugging.
                        why would he want to password protect it, then post it here?
                        Where's MagicSpeed?
                        Quote from: 'matt'
                        He's playing a game called IRL. Great graphics, *censored* gameplay.

                        BC_Programmer


                          Mastermind
                        • Typing is no substitute for thinking.
                        • Thanked: 1140
                          • Yes
                          • Yes
                          • BC-Programming.com
                        • Certifications: List
                        • Computer: Specs
                        • Experience: Beginner
                        • OS: Windows 11
                        Re: School batch program.(math)
                        « Reply #41 on: May 18, 2009, 07:53:48 PM »
                        ..

                        he DIDN'T post it. that's the part he's not showing.

                        On the other hand, it wouldn't make sense as a password since there was no user input, and it's looking at %action%. so what you posted before stands true.

                        Additionally, I cannot see why it wouldn't be showable; It's just a batch file.
                        I was trying to dereference Null Pointers before it was cool.