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
EastWind [94]
3 years ago
15

Write code that prints: Ready! firstNumber ... 2 1 Run! Your code should contain a for loop. Print a newline after each number a

nd after each line of text. Ex: If the input is: 3 the output is: Ready! 3 2 1 Run!
Computers and Technology
1 answer:
notsponge [240]3 years ago
8 0

Answer:

Explanation:

The following code is written in Java. It asks the user to enter the first number. Then it saves that number in a variable called firstNumber. It then uses that number to loop backwards from that number to 1 and goes printing out the countdown text. A test case has been created and the output can be seen in the attached image below.

import java.util.Scanner;

class Brainly {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.print("Enter First Number: ");

       int firstNumber = in.nextInt();

       System.out.println("Ready!");

       for (int i=firstNumber; i>0; i--) {

           System.out.println(i);

       }

       System.out.println("Run!");

   }

}

You might be interested in
Kenny FRIEND ME. Ps that is my brother
Maslowich

Answer:

who is kenny

Explanation:

3 0
3 years ago
Read 2 more answers
Hi, I am from India. Our brainly platform isn't so good, many of 'em keep spamming questions that I ask. US platform seems much
olga_2 [115]
It seems like a great county to visit, with many great views and tourist spots throughout.
7 0
3 years ago
On your Windows server, you’re planning to install a new database application that uses an enormous amount of disk space. You ne
iragen [17]

Answer:

3. ReFS

Explanation:

Only in ReFS include  and others do not have all of the below features

1. Automatic integrity checking and data scrubbing

2. Removal of the need for running chkdsk  

3. Protection against data degradation

4. Built-in handling of hard disk drive failure and redundancy

5.  Integration of RAID functionality

6.  A switch to copy/allocate on write for data and metadata updates

7. Handling of very long paths and filenames

8. Storage virtualization and pooling

4 0
3 years ago
Write any two use of computer in school​
igomit [66]

Answer:

To solve mathmatical problem

To make questions paper

7 0
3 years ago
____ are the computers that store network software and shared or private user files.
kodGreya [7K]
Servers <span>are the computers that store network software and shared or private user files.</span>
3 0
4 years ago
Other questions:
  • The final element of an e-mail message should be
    15·1 answer
  • Which ipv6 static route would serve as a backup route to a dynamic route learned through ospf?
    12·1 answer
  • If Denise specifies Jan? as a search criterion, Excel will locate all of the following records EXCEPT ____.
    9·1 answer
  • Select the statement that accurately describes why the Italics function is being used in the sentences below.
    8·1 answer
  • Without protocols the information sent and received through the Internet would never reach its intended target and even if it di
    6·1 answer
  • What does snap do need the answer now
    10·2 answers
  • Technology has proliferated in Kenya and Somaliland, with text messages used to replace cash, creating mobile money use that, on
    11·1 answer
  • Super Scores
    11·1 answer
  • Anyone know what the very first question that was sent on brainly is?
    15·2 answers
  • What is a word processor write any five important features of word processor?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!