Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ::FAHRENHEIT TO CELSIUS CALCULATOR SCRIPT
- ::---------------------------------------
- @echo off
- :start
- cls
- echo ---FAHRENHEIT TO CELSIUS---
- echo.
- echo *Press enter for C-F
- set /p temp="Fahrenheit = " || goto:start2
- set /a temp=(((%temp%-32)*5)/9)
- echo Celsius = %temp%
- echo.
- pause
- goto:start
- ::----------------------------------------------------
- ::----------------------------------------------------
- :start2
- cls
- echo ---CELSIUS TO FAHRENHEIT---
- echo.
- echo *Press enter for F-C
- set /p temp="Celsius = " || goto:start
- set /a temp=(((%temp%*9)/5)+32)
- echo Fahrenheit = %temp%
- echo.
- pause
- goto:start2
Advertisement
Add Comment
Please, Sign In to add comment