Question: Java Please 9 . 2 2 Count Down To ( Individual Assignment ) This is an Individual Assignment. You must complete this assignment on your
Java Please
Count Down To Individual Assignment
This is an Individual Assignment. You must complete this assignment on your own.
Do not collaborate or share code with other students.
Do not copy and paste code from anywhere.
Do not use any resources outside of those provided in the course materials.
Do not use any language features that have not been covered to this point in the course materials.
If you get stuck or need help, please use the help systems provided in this course.
Required Skills Inventory
Write a method that takes arguments and returns no value
Use parameter variables in a method body
Use relational operators to construct an expression
Use a loop to get the computer to repeat instructions
Use a counter to control a loop
Output to console with system. out.print
Problem Description and Given Info
Write define a public static method named countDownTo, that takes two int arguments and returns no value. You can safely
assume that both arguments will always be positive integers, and the second argument value will be less than the first argument value.
When this method is called, it should print a count from the first argument value down to the second argument value.
Examples:
countDownTo will print
countDownTo will print
countDownTo will print
You may wish to write some additional code to test your method.
Helpful Hints:
Remember that there is a significant difference between the print and print ln methods in Java.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
