The while loop in csh - Home | Department of Computer Science

The while loop in csh - Home | Department of Computer Science

瀏覽:627
日期:2025-06-16
The while loop in csh while (expression) … end while expression is true (nonzero) repeat the body of the loop set a = 99 set b = 57 while ($a != $b) if ($a > $b) then @ a = $a - $b else @ b = $b - $a endif end echo The GCD is $a set backups = 10 while ($b...看更多