Added: 3 years ago
From: mehran3472
Views: 6,469
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (23)

Sign In or Sign Up now to post a comment!
  • what about.... @echo off :hom title Calculator echo What's up, %USERNAME%?! Type a number! set/p one= cls echo Type symbol. (+,-,*,/) set/p two=%one%... echo The last number! set/p three=%one%%two%... set/a final=%one%%two%%three% cls echo the total is... %one%%two%%three%=%final% pause cls goto hom
  • you have almost the same last name as me

  • You just copied the code. You don't even know what each command is.

    @echo off = Hide programming stuffs

    echo = text

    goto = go to another part

    goto loop = go to a part called loop

    :loop = this is the loop part

    color = this is the colour the first letter is the background the second is the text

    pause = stop and says press any key to continue. press any key and continue

    set /p UDEFINE and set /a UDEFINE = calculator technique

    title = this is the title

  • @mehran3472 is it available convert that .bat file into .exe file?

  • @gensterize no

  • @gensterize yeah you can with bat toexe converter... look it up in youtube

  • it cant do fractions

  • @rramprakash98 this is late but try putting in parenthesis if you need double signs

  • LOL INTRO FAIL!

  • i want to change the picture.

  • Ahh,

    Division Didnt Work

  • wont work !!

  • sweet.I always wanted to make my own calculater!!!!!!!!!!!!!!!

  • SHIT I DIVIDED BY 0

  • thx mehran i realy needed it

  • cool, Thanks !

  • 3 divided by 2 equals one on this calculator?can you fix that us plz because i really need this

  • im on it

  • Hey Mehran3472 Can you plz tell me what is the function of the following coding...

    :loop

    echo.

    echo

    SET /p UDefine=

    SET /a UDefine=%UDefine%

    ECHO =

    ECHO %UDefine%

    ECHO.

    goto loop

  • alright if u dont use this part........this will happen....

    when u start the calculator and press any key it shows the functions

    then you press enter again to start your math but it will close

  • try making the calculator without this part and youll find out if u dont understand

  • @RedEyeBlackDemon Dude... I think the answer you seek is this

    - What youre looking for is HOW it PROCESSES it right ??

    - :Loop [where in the end (goto loop) will go back to]

    -Echo [The command that will show what you yourself edited]

    - SET /P UDefine= [The problem THAT YOU will set up (/p) P problem set up]

    - Set /a UDefine=%udefine% [the problem that will restate and solve from code to echo]

    = Echo= [when it repeats the problem from the edition]

    Echo %udefine% [The solution]

    loop - [repeat]

  • @RedEyeBlackDemon :loop basically repeats the process over and over again.

    echo. skips a line

    echo says what to write on the next line, like echo start game

    That's all I know off of the top of my head.

  • Cool!

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more