The output for the following- For k = 1 to 3 Printk,"India" Nextk
Answers
Answered by
0
Answer:
The given sequence is: –5, 10, –15, 20, –20
The numbers in the sequence are multiples of 5 and each number at the odd place is negative, while the number at even place is positive. The series can be generated by checking each index for odd-even and if it is odd, it will be multiplied by '-1'.
Similar questions