{ 没事做的时候拿一个c的杨辉三角翻译成DELPHI! 觉的D的FOR不如C的FOR好使! program Project1; {$APPTYPE CONSOLE} uses for i :=1 to n do //====================c语言实现======================= # include <stdio.h> int main() while (n < 1 || n > 16) for(i = 1; i <= n; i++) for(j = 1; j <=i; j++)
|