For loops – Zybooks

 Hi! Can everyone help me solve this java problem? 
Write code that prints: Ready! firstNumber … 2 1 Blastoff!
Your code should contain a for loop. Print a newline after each number and after each line of text.   
Ex: If the input is:  
The output is:  

This is my code: 
import java.util.Scanner;

Don't use plagiarized sources. Get Your Custom Essay on
For loops – Zybooks
Just from $13/Page
Order Essay

public class ForLoops {
   public static void main (String [] args) {
      int firstNumber;
      int i;

      Scanner input = new Scanner(;
      firstNumber = input.nextInt();
      for (i=firstNumber;i>1; i–){





When running the program, my output only matches the two outputs as shown in the attached picture. The rest do not match. How can my code be the same as the expected output as in the attached image?
Thanks, everyone!

Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.
Live Chat+1(978) 822-0999EmailWhatsApp

Order your essay today and save 20% with the discount code ORIGINAL