Computer Science, asked by GaurikaM, 8 months ago

Write a short program to print the following
series :
(1) 1 4 7 10 ...... 40.
(ii) 1 -4 7 - 10 . . . . . . - 40​

Answers

Answered by ravon
2

Answer:

hope this helps

Explanation:

int x,n;

n=1;

for(i=1;i<=13;i++)

{

print n;

n=n+3;

}

Similar questions