lab10 go brrr
This commit is contained in:
BIN
Exams/ProgrammingExam1_CalebFontenot/build/classes/programmingexam1_calebfontenot/TwoLargerOfThe3.class
Executable file → Normal file
BIN
Exams/ProgrammingExam1_CalebFontenot/build/classes/programmingexam1_calebfontenot/TwoLargerOfThe3.class
Executable file → Normal file
Binary file not shown.
@@ -1,13 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
|
||||
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
|
||||
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
|
||||
<group>
|
||||
<file>file:/C:/Users/ar114/Documents/NetBeansProjects/ProgrammingExam1_CalebFontenot/src/programmingexam1_calebfontenot/TwoLargerOfThe3.java</file>
|
||||
<file>file:/C:/Users/ar114/Documents/NetBeansProjects/ProgrammingExam1_CalebFontenot/src/programmingexam1_calebfontenot/ProgrammingExam1_CalebFontenot.java</file>
|
||||
<file>file:/C:/Users/ar114/Documents/NetBeansProjects/ProgrammingExam1_CalebFontenot/src/programmingexam1_calebfontenot/QuotientAndRemainderOfNumbersInAnyOrder.java</file>
|
||||
<file>file:/C:/Users/ar114/Documents/NetBeansProjects/ProgrammingExam1_CalebFontenot/src/programmingexam1_calebfontenot/LeapYear.java</file>
|
||||
<file>file:/C:/Users/ar114/Documents/NetBeansProjects/ProgrammingExam1_CalebFontenot/src/programmingexam1_calebfontenot/QuotientAndRemainder.java</file>
|
||||
</group>
|
||||
</open-files>
|
||||
</project-private>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project-private xmlns="http://www.netbeans.org/ns/project-private/1">
|
||||
<editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
|
||||
<open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
|
||||
<group/>
|
||||
</open-files>
|
||||
</project-private>
|
||||
|
@@ -52,6 +52,7 @@ public class TwoLargerOfThe3 {
|
||||
secondLargest = _2; // Then _2 must be the largest.
|
||||
}
|
||||
}
|
||||
/*
|
||||
if (_1 == _2 | _1 == _3 | _2 == _3) {
|
||||
System.out.println("Some numbers equal. Running additional checks...");
|
||||
if (_1 == _2) {
|
||||
@@ -73,6 +74,7 @@ public class TwoLargerOfThe3 {
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
// Output
|
||||
System.out.println("The first largest is " + firstLargest + " and the second largest is " + secondLargest);
|
||||
}
|
||||
|
Reference in New Issue
Block a user