first commit

This commit is contained in:
2019-08-13 12:17:37 -05:00
commit d5d82eff27
107 changed files with 6112 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
package practice;
import java.util.Scanner;
public class alphabeticalOrder {
public static void main(String[] args) {
System.out.println("Enter a three letter word:");
Scanner in = new Scanner(System.in);
String word = in.next();
char first = word.charAt(0);
char second = word.charAt(1);
char third = word.charAt(2);
if(first<=second && second<=third){
System.out.println("ALPHABETICAL ORDER");
} else if(first>=second && second>=third){
System.out.println("REVERSE ALPHABETICAL");
} else {
System.out.println("NOT IN ORDER");
}
}
}

View File

@@ -0,0 +1,12 @@
package practice;
import java.util.Scanner;
public class excercise2 {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String key = in.next();
String direction =
}
}

11
wk/wk3day3.iml Normal file
View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>