Write a program to display the first ten terms of the following series--------1)1.5,3.0,4.5,6.0
Answers
Answered by
2
( The Following Programming is in JAVA Language )
public class Series
{
public static void main()
{
int i;
for(i=1.5,i<=6.0;i+=2)
{
System.out.print(i+" ");
}
}
}
Similar questions