GATE 2025 set2 Computer Science and Information Technology question: Which one of the following options is correct for the given data in the table? Iteration…
Which one of the following options is correct for the given data in the table?
| Iteration () | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| Input () | 20 | −4 | 10 | 15 |
| Output () | 20 | 16 | 26 | 41 |
| Output () | 20 | −80 | −800 | −12000 |
Show answer
Official answer: A