From 5073cfb13766082241628e8f22bffe3089b11630 Mon Sep 17 00:00:00 2001 From: Steven Tracey Date: Wed, 1 Feb 2023 10:24:41 -0500 Subject: [PATCH] Chapter 2 --- src/main/java/tech/nevets/STWelcome.java | 14 ++++++++++++ .../java/tech/nevets/STWelcomeAlgorithm.txt | 22 +++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 src/main/java/tech/nevets/STWelcome.java create mode 100644 src/main/java/tech/nevets/STWelcomeAlgorithm.txt diff --git a/src/main/java/tech/nevets/STWelcome.java b/src/main/java/tech/nevets/STWelcome.java new file mode 100644 index 0000000..3ad99fe --- /dev/null +++ b/src/main/java/tech/nevets/STWelcome.java @@ -0,0 +1,14 @@ +package tech.nevets; + +public class STWelcome { + public static void main(String[] args) { + System.out.println("Welcome to Java Programming."); + System.out.print("I think this class "); + System.out.println("will be awesome!"); + System.out.println("I promise not to cheat in this class"); + System.out.println("If caught, I will be withdrawn with an F grade"); + System.out.println("Como estas hoy"); + System.out.println("J'espere que tu aimes ce cours"); + System.out.println("Byona gironata"); + } +} diff --git a/src/main/java/tech/nevets/STWelcomeAlgorithm.txt b/src/main/java/tech/nevets/STWelcomeAlgorithm.txt new file mode 100644 index 0000000..c212b04 --- /dev/null +++ b/src/main/java/tech/nevets/STWelcomeAlgorithm.txt @@ -0,0 +1,22 @@ +// This program prints text to console +// Steven Tracey + +//class declarator +//main method + +Display "Welcome to Java Programming." +Go to next line +Display "I think this class " +Display "will be awesome!" +Go to next line +Display "I promise not to cheat in this class" +Go to next line +Display "If caught, I will be withdrawn with an F grade" +Go to next line +Display "Como estas hoy" +Go to next line +Display "J'espere que tu aimes ce cours" +Go to next line +Display "Byona gironata" + +End of program \ No newline at end of file