Closed SimonaV23 closed 7 years ago
Not fully correct. Fix your tasks and submit them.
Points earned: 0
Maximum points: 20
Reverse array of numbers
Read only odds number
Read and Devide
Failed compiling
Exit code: 1
Error
04_task.c: In function ‘main’:
04_task.c:10:5: warning: implicit declaration of function ‘whie’ [-Wimplicit-function-declaration]
whie((scanf("%f",&num))!=EOF)
^
04_task.c:11:9: error: expected ‘;’ before ‘{’ token
{
^
04_task.c:9:23: warning: unused variable ‘sum’ [-Wunused-variable]
float a[1000],num,sum=0;
^
04_task.c:9:11: warning: unused variable ‘a’ [-Wunused-variable]
float a[1000],num,sum=0;
^
04_task.c:6:15: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]
int i,x,j,n;
^
04_task.c:6:13: warning: unused variable ‘j’ [-Wunused-variable]
int i,x,j,n;
^
04_task.c:6:11: warning: unused variable ‘x’ [-Wunused-variable]
int i,x,j,n;
^
04_task.c:6:9: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
int i,x,j,n;
^
Not fully correct. Fix your tasks and submit them.
Assignment report
Task 1: Reverse it [0/5 points]
Reverse array of numbers
Not submitted
Task 2: Read the odds [0/5 points]
Read only odds number
Not submitted
Task 3: Frequency [0/5 points]
Not submitted
Task 4: R&D [0/5 points]
Read and Devide
Testcase 1 failed