Computer Science, asked by FGFGY, 1 year ago

Write a program to display the series upto 10 terms:
1.5,3.0,4.5............................................

Answers

Answered by Anonymous
3

import java.util.*;

public class Series

{

public static void main(String args[])

{

Scanner in =new Scanner(System.in);

float a=0,n;

for(n=1.5;n<=15;n=n+1.5)

{

a=a+n;

System.out.println("Display the series"+a);

}

}

}

Answered by adfrt
3

Answer:

Ad the saviour I mean,

Annesha don't mind yarr, personal question

annesha992, itsarya, itzrulebreaker, theunknownkhiladi, adyashakti and infinityinfinity93, these all are your ids ow tell me among these which one you like the most, alls are your id and in all idsthere is yoyr effort so you must like all but tell one thing that never you answer any spam question or give any sam answer then why you allow your guys to use your id and to spam and answerring spam questions but they have no effort in any id why?/?

Explanation:

And who teaches you all the subjects huh so much effort in all subjects???

Similar questions