这个编译程序哪里 错了?
我用win-tc编的,显示的是编译错误。是谭浩强那本书里的例子。main()
{
int t=1,i=2;
do
{t=t*i;
i++;
}
while (i<=5);
printf("t=%d",t)
getch();
}
#include <stdio.h> int main(int argc, char *argv[]) { int t = 1, i = 2; do { t = t * i; i++; } while (i <= 5); printf("t = %d\n", t); return 0; }