![]() |
.. (לתיקייה המכילה) | |
In which type of variables should the input be given as input? (size, resolution, and quality)
|
size: cm resolution: number of pixels (this means, for 1M the user should type 1000000) quality: DPI Note: any other type if input (for example resolution could be given in mega pixels), as long as the program works as described and the user is informed of the meaning of his input. |
If the user provided an ileagal input, should I exit or ask him to try again? (for example - in question 4 - when the user typed as input the number -3)
|
When it is not defined in the question, you can do choose either one of the options. However, you should state (using comments) which of the options you chose. Note: unless stated otherwise, you should check the validity of the input (for example - the user should enter a number but entered the letter 'b') |
can the DPI \ resolution intput be a non-integer (for example 3.2)?
|
Whatever is more convinient for you. either way, they should both be possitive. |

