1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Levart [38]
4 years ago
10

Write a method that will receive 2 numbers as parameters and will return a string containing the pattern based on those two numb

ers. Take into consideration that the numbers may not be in the right order.
Note that the method will not print the pattern but return the string containing it instead. The main method (already coded) will be printing the string returned by the method.

Remember that you can declare an empty string variable and concatenate everything you want to it.

As an example, if the user inputs "2 5"

The output should be:

2
3 3
4 4 4
5 5 5 5
Computers and Technology
1 answer:
Kipish [7]4 years ago
5 0

Answer:

The purpose of the Java compiler is to translate source code into instructions  public static void main(String[] args)  Arity is the number of arguments passed to a constructor or method or the number ... and objects, which are the focus of object-based programs.  Remove the 2 from between the square brackets to make.

Explanation:

You might be interested in
A program is
Troyanec [42]

Answer:

The correct answer is option 3: a set of instructions given to a computer.

Explanation:

A computer works on the instructions that are given by the user. The user has to provide both, the data and the instructions. There are several methods to give input to a computer. One of them is a program which is written in a programming language.

Hence,

A program is a set of instruction given to a computer

The correct answer is option 3: a set of instructions given to a computer.

6 0
3 years ago
Kindly help me in this question by C PROGRAM or BY WORDINGS WHICH DESCRIBES THE PROBLEM SOLUTION
Serjik [45]

Answer:

First of all you need to put it in shorter terms  

Explanation:

7 0
3 years ago
An IT professional with a customer-service
oksian1 [2.3K]

Answer: work late to make sure a persons issue is resolved

Explanation:

I just took the test

6 0
4 years ago
Trish has bought a new computer that she plans to start on after a week
7nadin3 [17]
So what is the question my guy?
6 0
3 years ago
JAVA
musickatia [10]

Answer:

class Main {  

 public static void main(String args[]) {

   int a = 5;

   int delta = 5;

   for(int i=0; i<10; i++) {

       System.out.printf("%d, ", a);

       a += delta;

       delta += 2;

   }

 }

}

6 0
3 years ago
Other questions:
  • Type the correct answer in the box.
    7·1 answer
  • Which of the following steps in enumeration penetration testing extracts information about encryption and hashing algorithms, au
    13·1 answer
  • Can someone fix this so that it only says "its a payday" on 15 and 30 and on all other days "sorry, it's not payday"
    9·1 answer
  • The Joint Photographic Experts Group developed the ___________ graphic format.
    12·2 answers
  • With his assembly lines, Henry Ford improved what process? A. computer management B. just-in-time management C. Bessemer process
    5·1 answer
  • Tim is trying to explain to his aunt how her computer works, but she does not understand what a CPU does. Which description will
    11·1 answer
  • Write a function that takes an integer value and returns the number with its digits reversed. for example, given the number 7631
    10·1 answer
  • HELP ASAP!!!!<br> I don't know the code to these images and I need that code now.
    12·1 answer
  • he memory protection requirement must be satisfied by the operating system rather than the processor. True False
    14·1 answer
  • Javascript and java are really just two slightly different names for the same language.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!