write an algorithm to print 30 terms of sequence -1,2,3,-4,5,6,-7...... upto 30 terms
Answers
Answered by
2
Explanation:
N = 30
FOR I IN RANGE(1,N+1):
IF I%3=0:
PRINT("-",I)
*MARK ME AS BRAINLY
Similar questions