Miscellaneous Programming Challenges
Josiah W 19 Apr 2013 15:43
Hello there! I will submit the first challenge.
In Batch, how can you optimize this code?
@echo off
set /p input=Your name:
cls
echo Hello, %input%!
echo Which color do you like best?
set /p color=
if %color% == green echo Me too!
if %color% neq green echo Wow, good color!
echo Bye!
pause 1>nul
:ClrHome:Disp "HOW DOES A","MATHEMATICIAN","LOSE WEIGHT?
:Pause "
:Pause "BINOMIALS!
:Pause "(BUY NO MEALS)":ClrHome