write a Java program to print the following number....
Q. 1,4,27,16,125.........100
Answers
Answered by
0
Answer:
pls wait
Explanation:
Examples:
Input : 5
Output : 125
Input : 6
Output : 36
Answered by
1
Answer:
1.public class pattern.
2.{
3.public static void main(String[] args) {
4.int lines=4;
5.int i,j;
6.int space=0;
7.for(i=0;i<lines;i++){// this loop is used to print lines.
8.for(j=1;j<=space;j++){// this loop is used to print space in a line.
Similar questions