소스 파일명: testWhile.rb # # Filename: testWhile.rb # # Purpose: Example using the while loop syntax # while .... # # Execute: ruby testWhile.rb -200 300 # # 사용법 표시 def printUsage() print "Using: ruby testWhile.rb [integer1] [integer2]\n" print "This finds the greatest common divisor of the given two integers.\n" end if (ARGV.length != 2) printUsage() exit(1) end # ----------------------------------..