Math, asked by Mister360, 5 months ago

Program this on JAVA

6758
6785
7865
6587​

Answers

Answered by anindyaadhikari13
4

Answer:

This is the required program for the question.

public class GetCódes {

public static void main(String[] args) {

System.out.print("6758\n6785\n7865\n6587");

}

}

Here, \n is a back slash character used to add a new line.

Refer to the attachment for output.

•••♪

Attachments:
Answered by BrainlyProgrammer
1

Answer:

6758

6785

7865

6587

This is a pattern with no logic

The Question is easy but does not have any logic

So the required answer is as follows:-

public class NoLogicPattern {

public static void main (String ar[]){

System.out.println("6758"); System.out.println("6785"); System.out.println("7865"); System.out.println("6587");

}}

Or

public class NoLogicPattern {

public static void main (String ar[]){

System.out.println("6758\n6785\n7865\n6587");

}}

Similar questions