InterviewSolution
Saved Bookmarks
| 1. |
Sage: 32 % 6 will give a.2 b. 18.75 c. 5 d.0 |
|
Answer» d ANSWER:-Question:Find the output of the following statement. Output:2 (Option A) is the right answer.Explanation:The modulo(%) operator is used to calculate the remainder OBTAINED when a number is DIVIDED by another number. Let us divide 32 by 6.6 ) 32 ( 5 - 30--------------- 2Thus, remainder obtained is 2. Therefore, ➡ 32 % 6 = 2 |
|