+ 3

Wrong answers to challenges questions?

Is it just me, or sometimes the answers for challenges questions are plain wrong?

6th Mar 2017, 2:47 PM
Mihai Alex
Mihai Alex - avatar
4 odpowiedzi
+ 11
yes. sometime it is wrong.
6th Mar 2017, 2:53 PM
Agus Mei
Agus Mei - avatar
+ 3
It's more common for the main() function to be integer instead of void. In the lessons, it is also really used as int. A blank can't have more than one answer place. int was the more logical option. Also, yeah, some questions mathematically are messed up. There was this one question I thought I KNEW I was going to get right, but then I was wrong.
6th Mar 2017, 2:51 PM
Rain
Rain - avatar
+ 1
I am pretty sure some questions are messed up and it's very frustrating. Especially mathematical ones
7th Mar 2017, 1:12 AM
Dimitrios Haf
Dimitrios Haf - avatar
0
@Rain, I checked in playground for the main function and it really can't be of type void there, so i edited my question :) But i am used to writing code in visual studio IDE and there, the main() function can be declared of type void. Of course, main ()should return something in order for the programmer to see if some error occured, but the question was: "Can main() function be of type void?" And i naturally chose "yes", based on my experience :)
6th Mar 2017, 2:58 PM
Mihai Alex
Mihai Alex - avatar