0_0_33025481_6930.cpp:1:1: error: 'include' does not name a type
include<stdio.h>
^
0_0_33025481_6930.cpp: In function 'int main()':
0_0_33025481_6930.cpp:10:29: error: elements of array 'main()::subject s [10][100]' have incomplete type
struct subject s[10][100];
^
0_0_33025481_6930.cpp:10:29: error: storage size of 's' isn't known
0_0_33025481_6930.cpp:14:26: error: 'scanf' was not declared in this scope
while (scanf("%d", &n)!=EOF) {
^
0_0_33025481_6930.cpp:14:29: error: 'EOF' was not declared in this scope
while (scanf("%d", &n)!=EOF) {
^
0_0_33025481_6930.cpp:25:42: error: 'printf' was not declared in this scope
printf("%.2lf\n\n", a / b);
^
0_0_33025481_6930.cpp:26:37: error: 'printf' was not declared in this scope
else printf("Sorry!\n\n");
^
|