..
.... 9:08:0;
Unsolved Java Programs:
1. Write the programs in Java to display the first ten terms of the followin
at 1, 4, 9, 16,
6). 1, 2, 4, 7, 11, ........ ... for C =10;144)
ley 3, 6, 9, 12, .................
Get 4, 8, 16, 32, ....................
fey 1.5, 3.0, 4.5, 6.0, .................... 8-S +i;
(50,7, 26, ........................................ +
(g) 1, 9, 25, 49, .................
Chat 4, 16, 36, 64, ............
BY 0, 3, 8, 15, ................
24, 99, 224, 399, .......
(k) 2, 5, 10, 17, ...
.
.
...
.....
........
.
........
.
.
...
.
...........
...
....
..
......
..
..
....
Answers
Answered by
0
Many of the programs are for squares till a certain number. The program is
import java.util. *;
public class series{
public static void main(String args []){
Scanner sc = new Scanner ( System.in);
int c= sc.nextInt();
for( int i=0;i System.out.print(i*i+” , “)
}
}
}
import java.util. *;
public class series{
public static void main(String args []){
Scanner sc = new Scanner ( System.in);
int c= sc.nextInt();
for( int i=0;i System.out.print(i*i+” , “)
}
}
}
Similar questions