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
nika2105 [10]
3 years ago
10

#In the previous coding problem, you created a function #called hide_and_seek that printed the numbers from 1 to 10. #Now, howev

er, we want to extend that. What if we want to #count to 20? 30? # #Modify your previous function so that it takes as input one #parameter: count. Then, instead of printing the numbers from #1 to 10, it should print the numbers from 1 to the value of #count. Then, end with "Ready or not, here I come!"
Computers and Technology
1 answer:
fredd [130]3 years ago
5 0

Answer:

public class num7 {

//Method hide and seek begins here

   public static void hide_and_seek(int count){

       for(int i=1; i<=count; i++){

           System.out.println(i);

       }

       System.out.println("Ready or not, here I come!");

   }

//Main method begins here

   public static void main(String[] args) {

       hide_and_seek(20);

       hide_and_seek(10);

   }

}

Explanation:

Using Java programming langauge.

Method hide_and_seek is created with return type void and receives one parameter count

The method uses a for loop to print numbers from 1 to count, then the string Ready or not, here I come!"

In the main method hide_and_seek () is called twice and passed the argument of 20 and 10

You might be interested in
Lawanda starts a new job today at a company that delivers thousands of packages each day. Identify three ways in which Lawanda's
jek_recluse [69]

Answer:

use your own opinion

Explanation:

7 0
4 years ago
Explain the concept of an engineering trade-offs and give an example
makvit [3.9K]

ytfjkhm,MNbkvjhmb,kn.l">

k

8 0
4 years ago
Read 2 more answers
Is the process of modifying something to make it fit certain criteria.
alexandr402 [8]

Answer:

Design Process

8 0
3 years ago
Ten output devices you know
jasenka [17]
Monitor
Printer
Headphones
Computer Speakers
Projector
GPS
Sound Card
Video Card
Braille Reader
Speech-Generating Device

6 0
3 years ago
Rebecca has finished with the research and outline portion of her slide presentation now the next logical step is to begin worki
e-lub [12.9K]

Answer:

The answer is creating and layout and template style

Explanation:

APEX VERIFIED just did it

4 0
3 years ago
Read 2 more answers
Other questions:
  • Exposing employee and customer personal data to an untrusted environment is an example of:
    9·1 answer
  • Why is the ipad not considered to be an enterprise-worthy device
    8·1 answer
  • If a user receives a message whose tone and terminology seems intended to invoke a panic or sense of urgency, it may be a(n) ___
    13·1 answer
  • Could someone give an example or tell me what all of these mean? (For internet source citing) Evaluation: • Domain Name: • Autho
    7·1 answer
  • 2. ¿Cuáles de los siguientes Software son lenguajes de Programación?
    10·1 answer
  • Potential Energy and Kinetic Energy both mean "energy in motion" True or False​
    8·2 answers
  • Hich of these statements is a value statement?
    14·2 answers
  • I’ll mark brainlest
    14·2 answers
  • Fill in the blank with the correct term.
    10·2 answers
  • Which of the following is NOT an algorithm?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!