Computer Science, asked by Rainbowgain, 3 months ago

Write a program to print the series

s=2+5+8 .... upto 10 terms ​

Answers

Answered by cool5257boy
8

Answer:

2,3,5,8,13…………10th term ...

DECLARE SUB SERIES () CLS CALL SERIES END SUB SERIES A = 2 B = 3 FOR I = 1 TO 10 PRINT A; C = A + B A = B B = C NEXT I END ...

Answered by Anisha5119
4

Answer:

import java.io.*;

.*;class Disarium

.*;class Disarium{

.*;class Disarium{public static void main()

.*;class Disarium{public static void main(){

int s=0;

for(int I=2,I<=29;I=I+3)

s=s+I;

System.out.println(i);

}

}

}

Similar questions