Answer:
Answered below
Explanation:
In order to not discourage the user, error messages must be implemented in a user-friendly way with the use of strategies which ensure coordination, consistency and simplicity.
Error messages should be short, direct and communicate clearly, the right amount of information to a user. These messages should be sorted into categories which represent different kinds of errors. These specific categories should have a brief alphanumeric code that can be easily shared with a customer support personnel for solution and also to help users search for solutions themselves, on the internet.
?? You wantYou nethe president of US?
Open Source - Program or or code that is freely available for use or modification.
Answer:
for (i = lo, result = 0; i <= hi; result += i, i++) {}
Explanation:
A for loop header has three statements:
- <em>i = 0, result = 0; </em>This statement initializes <u>i</u> and <u>result</u> variables with 0. It is executed only once at the very start of the for loop.
- <em>i <= hi;</em> This statement is executed after the first statement and again after the execution of code in body of the loop.
- <em>result += i, i++</em> This statement is executed after the execution of code in body of the loop but before the execution of second statement.
Therefore, the following sequence of events will occur:
- The result variable is initialized with 0 at start.
- Then, the condition is checked. If the value of i will be less than or equal to the value of hi, the third statement will be executed.
- The third statement will add the value of i to the value of result and then increase the value of i by 1.
- Then, again the condition in second statement will be checked.
This loop will be executed for as long as the condition remains true.