How to print the pattern 12345 1234 123 12 1 from right side in Java?
Answers
Answered by
1
CLASS PROGRAM
{
public static void()
{
System.out.println (" 12345");
System.out.println (" 1234");
System.out.println (" 123");
System.out.println (" 12");
System.out.println (" 1");
}
}
{
public static void()
{
System.out.println (" 12345");
System.out.println (" 1234");
System.out.println (" 123");
System.out.println (" 12");
System.out.println (" 1");
}
}
abhay7354:
hope this works
Similar questions
Biology,
6 months ago
Hindi,
6 months ago
Math,
1 year ago
Psychology,
1 year ago
Physics,
1 year ago