![]() |
.. (לתיקייה המכילה) | |
Am I allowed to use strings and arrays in this exercise? | |
You may use strings and arrays "at your own risk" since that material wasn't covered in class yet. Notice you are not allowed to use string library functions or any other library functions. |
In question 1, if the sum of the user name characters is 300, should the right password be 003 or 3? | |
The right password should be 3 (no leading zeroes). |
In question 2, if some of input data is missing, what should I do? | |
Print "Input error" and terminate the program. |
In question 4, is the following input legal: "3x-2y=1"? | |
No, it should be "3x+-2y=1" in order to meet with the exercise requirements. |
In question 1, can I assume the user will always enter a user name of 8 characters? | |
No, but you can assume that the entered user name won't exceed 8 characters. |
In question 4, can A,B,C be bigger than 9? | |
Yes. |
In question 1, can I assume the entered letters are small ones? | |
YES |