.. (לתיקייה המכילה) | ||
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 | |
קישור: Link: Ссылка: وصلة: | https://grades.cs.technion.ac.il/grades.cgi?dbdidciidc2a24b7b924a201173b0c+2+234114+Spring2019+hw/WCFiles/Line%20Counting%20Procedure.pdf |
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: Should I implement all 3 questions with functions shorter than 17 lines to get the bonus? | |
Answer: No. Only Question 1 is counted for bonus. For readability of the code - a nice idea to implement it everywhere. |
Question: The code provided contains functions with code lines longer than 150 characters. What should I do? | |
Answer: These functions will be ignored for the bonus eligibility. |
Question: In question 1 I'm working to get the bonus, but I'm getting | |
The code should be refactored to make use of the variable. E.g. it could be returned from the function it is declared in (even main). |