0_0_25042274_15857.cpp:5:6: error: stray '\' in program
while(scanf(\"%d%d%d\",&T,&n,&B)&&T)
^
0_0_25042274_15857.cpp:5:6: error: missing terminating " character
0_0_25042274_15857.cpp:10:16: error: stray '\' in program
scanf(\"%lf%d\",&a,&b);
^
0_0_25042274_15857.cpp:10:16: error: missing terminating " character
0_0_25042274_15857.cpp:13:11: error: stray '\' in program
printf(\"Case %d: %.2lf\\n\\n\",t++,sum/B);
^
0_0_25042274_15857.cpp:13:11: error: missing terminating " character
0_0_25042274_15857.cpp: In function 'int main()':
0_0_25042274_15857.cpp:7:11: error: expected primary-expression before 'double'
double a,sum=0.0;
^
0_0_25042274_15857.cpp:7:11: error: expected '}' before 'double'
0_0_25042274_15857.cpp:7:11: error: expected ')' before 'double'
0_0_25042274_15857.cpp:7:20: error: 'sum' was not declared in this scope
double a,sum=0.0;
^
0_0_25042274_15857.cpp:7:27: error: expected ')' before ';' token
double a,sum=0.0;
^
0_0_25042274_15857.cpp:11:16: error: 'sum' was not declared in this scope
sum+=a*(100-b)/100;
^
0_0_25042274_15857.cpp:11:21: error: 'a' was not declared in this scope
sum+=a*(100-b)/100;
^
0_0_25042274_15857.cpp:14:6: error: expected primary-expression before '}' token
}
^
0_0_25042274_15857.cpp: At global scope:
0_0_25042274_15857.cpp:15:6: error: expected unqualified-id before 'return'
return 0;
^
0_0_25042274_15857.cpp:16:1: error: expected declaration before '}' token
}
^
|