Write a program to print the square of first twenty natural numbers in descending order.
Answers
Answered by
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
Math,
2 months ago
Science,
2 months ago
Political Science,
5 months ago
Computer Science,
5 months ago
Math,
11 months ago
Geography,
11 months ago