#include<stdio.h>
int main()
{
int score;
char A,B,C,D,E;
scanf("%d",&score);
if (score>=90) printf("%c",A);
else if (score>=80 && score<90) printf("%c",B);
else if (score>=70 && score<80) printf("%c",C);
else if (score>=60 && score<70) printf("%c",D);
else printf("%c",E);
return 0;
}
[Running] cd "e:\cwork\vscode" && gcc Untitled-1.c -o Untitled-1 && "e:\cwork\vscode"Untitled-1
C:\MinGW\bin/ld.exe: cannot open output file Untitled-1.exe: Permission denied
collect2.exe: error: ld returned 1 exit status
[Done] exited with code=1 in 0.351 seconds
不论运行哪个文件都显示这样的错误,我检查了函数名没错啊?
是不是打开了一个没有关,可以通过任务管理器查看