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
Which of the following does every font that you choose communicate, either on a conscious or subconscious level?
sergeinik [125]
I believe it is b so I will just leave it at that

3 0
4 years ago
Read 2 more answers
Explain connectivity is productivity
Olegator [25]

Answer:

In fact, Quadir coined the phrase "connectivity is productivity" to explain the unique impact of Information Communication Technologies (ICTs), particularly mobile telephones, in improving economic efficiency.

5 0
3 years ago
1. Which of the following is a Windows feature that allows you to temporarily store text?
mamaluj [8]
That feature is called the clipboard. (It can also store other things than text.)
6 0
4 years ago
Read 2 more answers
How do you save files to a CD?
ss7ja [257]
Click on either Windows Explorer or My Computer to allow you access to the area in which you have saved<span> your </span>file<span>. 6. Select the </span>file(s) you wish tosave<span>/burn to the </span>CD-R/CD<span>-RW (you may select multiple </span>files<span> by holding either the Shift or Ctrl key down and clicking on the </span>files<span> you wish to</span>save<span>/burn.</span>
4 0
3 years ago
Secondary hard drive whats its purpose
loris [4]
As a back up in cases like the first hard drive gets fried
4 0
3 years ago
Other questions:
  • What are 3 things that can make cyberbullying especially harmful​
    12·1 answer
  • With the help of what memory a computer can read as well as write or modify data
    14·2 answers
  • Why do you think Google+'s engagement levels are so low? Do you think they will rise as people become more familiar with the soc
    12·1 answer
  • Inthe old days, databases did NOT support ____________.
    10·1 answer
  • You accidentally moved your task bar from the bottom of the screen to the left side. You would like to
    14·2 answers
  • You wrote a program to allow the user to guess a number. Complete the code to generate a random integer from one to 10.
    8·2 answers
  • What makes up data encryption standard ?
    9·1 answer
  • PLEASE HELP QUICK ASAP NO LINKS PYTHON CODING
    5·2 answers
  • Which object event is an indication that something has been created but not committed into the database?
    13·1 answer
  • To set up scenarios,then set up a list, then set up the reference cell. to set up the cells that display the output results from
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!