.. (לתיקייה המכילה) | ||
Question: function declarations and implementations provided are longer than 75 characters. | |
75 chars per line bonus will be in effect based on code written by you, so function length bonus will not take main into account |
Question 1: Can I assume there will be no '\n' or '\t' (TAB) before first ';'? | |
Yes |
Question 1: Is there a bound on the user input (number of characters)? | |
No. |
Question 2: Can I assume 0 is positive and its root is 0? | |
Yes |
Question: Will I be eligible for 10 points bonus if I implement only part of the questions in a short line style? | |
It depends. Good style is to have short lines in all questions. Bonus points will be awarded for a low line count AND those lines are short-line implementations of question 1 and of peer-reviewed question(s), if different. (For non-lawyers: implement everything in short lines, if you want line count bonus and do not want bad style fines in manual/peer check) |
Question: Should i implement all the questions without if/else/do-while/switch in order to get 10 point bonus? | |
No. Only question 1 is required for the bonus points. Check-out: using while to simulate plain if will be counted,as if was used !! |
Question 2: | |
It could be safely assumed 3 integer numbers will appear before ENTER in input |
Question: 16 lines per function bonus. Which lines are counted? | |
Only the implementation of the BODY of the function. No declaration, no header, no {,} symbols |
Question 2: When it says "Function get as input ...", what does this exactly mean? Inside the function i need to handle user input? | |
No. The function will get this input as parameter, passed to function. |