plzzzzzzzzz
write a program in java to print the following series.
5 4 3 2 1
5 4 3 2
5 4 3
5 4
5
Answers
Answered by
4
public class program
{
public static void main(String args[])
{
for (int k=1; k<=5; k++)
{
for (int i=5; i>=k; i--)
{
System.out.print(i);
}
System.out.println();
}
}}
Hope it is helpful
Pls Mark as BRANLIEST
Answered by
3
public class service
Similar questions