Computer Science, asked by priyanshu24439, 1 year ago

give the program of Java the program is 1234,123,12,1

Answers

Answered by Ankit02
4

Here it is:-

public class Ankit

{

public static void main(String[] args)

{

for(int m=4;m>=1;m--)

{

for(int n=1;n<=m;n++)

{

System.out.print(n);

}

System.out.println();

}

}

}

Answered by AarthyKalidass
0

Answer:

Java is a popular object-oriented programming language and software platform that powers billions of devices such as laptop computers, mobile devices, gaming consoles, medical equipment, and many more. Java's principles and grammar are based on the C and C++ programming languages.

Explanation:

What is java program of the mentioned program?

class Brainly

{

public static void main(String args[])

{

for(int i = 5; i>=1; i--)

{

for(int j=1; j<=i; j++)

System.out.print(j);

System.out.println();

}

}

}

Java is a high-level, class-based, object-oriented programming language with a low number of implementation dependencies. Many programmes and websites rely on Java and will not function unless Java is installed. Depriving oneself of Java is effectively depriving yourself of technical infrastructure. A devoted community of Java developers, architects, and enthusiasts has tested, polished, expanded, and validated Java. Despite its almost two-decade roots, Java has continually grown throughout the years.

To know more about java, check out:

https://brainly.in/question/9763781

To know more about programming, check out:

https://brainly.in/question/240318

#SPJ3

Similar questions