From 8fa9f841107da26369e324b1bdff6bc509215549 Mon Sep 17 00:00:00 2001 From: Andrew Shumway Date: Wed, 29 Sep 2021 11:15:27 -0600 Subject: [PATCH] complete objective7lab1 --- Labs/Objective7Lab1.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Labs/Objective7Lab1.java diff --git a/Labs/Objective7Lab1.java b/Labs/Objective7Lab1.java new file mode 100644 index 0000000..7e832ca --- /dev/null +++ b/Labs/Objective7Lab1.java @@ -0,0 +1,12 @@ +public class Objective7Lab1 { + public static void main(String[] args) { + int counter = 10; + + while(counter > 0) { + + System.out.println(counter); + + counter = counter - 1; //this makes we count down + } + } +}