From 9df9984a39a99a6d9a9af4e3b7e4c665de6bc236 Mon Sep 17 00:00:00 2001 From: Colton Jobes <cjobes@cs.washington.edu> Date: Tue, 11 May 2021 14:02:41 -0700 Subject: [PATCH] Added HW7 Materials --- cards.txt | 5 +++ script/AnotherPrinter.java | 5 +++ script/Printer.java | 7 ++++ script/subdir/YetAnotherPrinter.java | 8 +++++ task1.sh | 53 ++++++++++++++++++++++++++++ 5 files changed, 78 insertions(+) create mode 100644 cards.txt create mode 100644 script/AnotherPrinter.java create mode 100644 script/Printer.java create mode 100644 script/subdir/YetAnotherPrinter.java create mode 100644 task1.sh diff --git a/cards.txt b/cards.txt new file mode 100644 index 0000000..b88b29a --- /dev/null +++ b/cards.txt @@ -0,0 +1,5 @@ +5123 456 7 891 01 112 +4789 2784 8910 8290 +54 1929331 83917 +4 789087089 087098 +5 192 929 59182 8818 diff --git a/script/AnotherPrinter.java b/script/AnotherPrinter.java new file mode 100644 index 0000000..fcbd77d --- /dev/null +++ b/script/AnotherPrinter.java @@ -0,0 +1,5 @@ +public class AnotherPrinter { + public static void main(String[] args) { + System.out.println("I love faang!"); + } +} diff --git a/script/Printer.java b/script/Printer.java new file mode 100644 index 0000000..b118b62 --- /dev/null +++ b/script/Printer.java @@ -0,0 +1,7 @@ +public class Printer { + public static void main(String[] args) { + for (int i = 0; i < 10; i++) { + System.out.println("faang is the best company ever!!"); + } + } +} diff --git a/script/subdir/YetAnotherPrinter.java b/script/subdir/YetAnotherPrinter.java new file mode 100644 index 0000000..07b2f4d --- /dev/null +++ b/script/subdir/YetAnotherPrinter.java @@ -0,0 +1,8 @@ +public class YetAnotherPrinter { + public static void main(String[] args) { + String i = "I "; + String l = "love "; + String f = "faang faang"; + System.out.println(i + l + f); + } +} diff --git a/task1.sh b/task1.sh new file mode 100644 index 0000000..d32ed5f --- /dev/null +++ b/task1.sh @@ -0,0 +1,53 @@ +#!/bin/bash + +#################################### +# Name: <Your name here> +# CSE 391 - Winter 2021 +# Homework 7 - Task 1 +#################################### + +function problem1 { + # Type your answer to problem #1 below this line + echo "not yet implemented" +} + +function problem2 { + # Type your answer to problem #2 below this line + echo "not yet implemented" +} + +function problem3 { + # Type your answer to problem #3 below this line + echo "not yet implemented" +} + +function problem4 { + # Type your answer to problem #4 below this line + echo "not yet implemented" +} + +function problem5 { + # Type your answer to problem #5 below this line + echo "not yet implemented" +} + +function problem6 { + # Type your answer to problem #6 below this line + echo "not yet implemented" +} + +function problem7 { + # Type your answer to problem #7 below this line + echo "not yet implemented" +} + +function problem8 { + # Type your answer to problem #8 below this line + echo "not yet implemented" +} + +function problem9 { + # Type your answer to problem #9 below this line + echo "not yet implemented" +} + -- GitLab