elsys / c-programming-homework

Homework assignments and students submissions
MIT License
8 stars 147 forks source link

ShuzaiWutFace #1005

Closed IvelinGeorgiev closed 7 years ago

elsysbot commented 7 years ago

Assignment report

Points earned: 10
Maximum points: 20

Task 1: Sum and Average [5/5 points]

https://github.com/elsys/c-programming-homework/tree/master/A/03#Задача-1---sum-and-average

Testcase 1 passed

Testcase 2 passed

Task 2: Heavy Numbers [5/5 points]

https://github.com/elsys/c-programming-homework/tree/master/A/03#Задача-2---heavy-numbers

Testcase 1 passed

Testcase 2 passed

Task 3: Money for nothing.. [0/5 points]

https://github.com/elsys/c-programming-homework/tree/master/A/03#Задача-3---money-for-nothing

Failed compiling

Exit code: 1

Error

03_marina.c:2:0: warning: ISO C forbids an empty translation unit [-Wpedantic]

 ^
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status

Task 4: Tree [0/5 points]

https://github.com/elsys/c-programming-homework/tree/master/A/03#Задача-4---tree

Not submitted

elsysbot commented 7 years ago

Assignment report

Points earned: 15
Maximum points: 20

Task 1: Reverse it [5/5 points]

Reverse array of numbers

Testcase 1 passed

Testcase 2 passed

Testcase 3 passed

Task 2: Read the odds [5/5 points]

Read only odds number

Testcase 1 passed

Testcase 2 passed

Testcase 3 passed

Task 3: Frequency [5/5 points]

Testcase 1 passed

Testcase 2 passed

Task 4: R&D [0/5 points]

Read and Devide

Failed compiling

Exit code: 1

Error

04_hehexd.c: In function ‘main’:
04_hehexd.c:19:1: error: expected expression before ‘return’
 return 0;
 ^
04_hehexd.c:20:1: error: expected expression before ‘}’ token
 }
 ^
04_hehexd.c:20:1: error: expected expression before ‘}’ token
04_hehexd.c:20:1: error: expected expression before ‘}’ token
04_hehexd.c:7:7: warning: unused variable ‘total’ [-Wunused-variable]
 float total=0;
       ^
elsysbot commented 7 years ago

Not fully correct. Fix your tasks and submit them.