源程序
#include<stdio.h>
int main(void)
{
char op;
int i;
for(i=1,i<=3,i++)
{
scanf("%c",&op);
if(op=='l')
printf("see how much i love you");
else
printf("we are good friend");
}
return 0;
}
F:\MSDev98\Bin\265.cpp(6) : error C2143: syntax error : missing ';' before ')'
F:\MSDev98\Bin\265.cpp(6) : error C2143: syntax error : missing ';' before ')
看了很久,没弄懂。。希望大神能帮一下。谢谢了