Computer Science, asked by gargiarora3404, 5 months ago


Write a program to print the square of first twenty natural numbers in descending order.


Answers

Answered by samarthkrv
0

Answer:

public class Main

{

public static void main(String[] args) {

 for(int i = 20; i >= 1; i--){

     System.out.println(i + " * " + i + " = " + (i*i));

 }

}

}

Explanation:

Similar questions