From d1a57eb158c523b2d25898fbd5c12429e04dcb95 Mon Sep 17 00:00:00 2001 From: fazahda Date: Thu, 2 Feb 2017 15:38:43 +0700 Subject: [PATCH] Add files via upload --- Faza Ahda, 1301154292, IF-39-12/build.xml | 73 + .../build/classes/tugas/pkg1/Tugas1.class | Bin 0 -> 383 bytes .../build/classes/tugas/pkg1/index.class | Bin 0 -> 1271 bytes .../build/classes/tugas/pkg1/prima.class | Bin 0 -> 1215 bytes .../classes/tugas/pkg1/temperatureconv.class | Bin 0 -> 2360 bytes Faza Ahda, 1301154292, IF-39-12/manifest.mf | 3 + .../nbproject/build-impl.xml | 1419 +++++++++++++++++ .../nbproject/genfiles.properties | 8 + .../nbproject/private/private.properties | 2 + .../nbproject/private/private.xml | 12 + .../nbproject/project.properties | 74 + .../nbproject/project.xml | 15 + .../src/tugas/pkg1/Tugas1.java | 24 + .../src/tugas/pkg1/index.java | 46 + .../src/tugas/pkg1/prima.java | 42 + .../src/tugas/pkg1/temperatureconv.java | 75 + 16 files changed, 1793 insertions(+) create mode 100644 Faza Ahda, 1301154292, IF-39-12/build.xml create mode 100644 Faza Ahda, 1301154292, IF-39-12/build/classes/tugas/pkg1/Tugas1.class create mode 100644 Faza Ahda, 1301154292, IF-39-12/build/classes/tugas/pkg1/index.class create mode 100644 Faza Ahda, 1301154292, IF-39-12/build/classes/tugas/pkg1/prima.class create mode 100644 Faza Ahda, 1301154292, IF-39-12/build/classes/tugas/pkg1/temperatureconv.class create mode 100644 Faza Ahda, 1301154292, IF-39-12/manifest.mf create mode 100644 Faza Ahda, 1301154292, IF-39-12/nbproject/build-impl.xml create mode 100644 Faza Ahda, 1301154292, IF-39-12/nbproject/genfiles.properties create mode 100644 Faza Ahda, 1301154292, IF-39-12/nbproject/private/private.properties create mode 100644 Faza Ahda, 1301154292, IF-39-12/nbproject/private/private.xml create mode 100644 Faza Ahda, 1301154292, IF-39-12/nbproject/project.properties create mode 100644 Faza Ahda, 1301154292, IF-39-12/nbproject/project.xml create mode 100644 Faza Ahda, 1301154292, IF-39-12/src/tugas/pkg1/Tugas1.java create mode 100644 Faza Ahda, 1301154292, IF-39-12/src/tugas/pkg1/index.java create mode 100644 Faza Ahda, 1301154292, IF-39-12/src/tugas/pkg1/prima.java create mode 100644 Faza Ahda, 1301154292, IF-39-12/src/tugas/pkg1/temperatureconv.java diff --git a/Faza Ahda, 1301154292, IF-39-12/build.xml b/Faza Ahda, 1301154292, IF-39-12/build.xml new file mode 100644 index 0000000..c65cd73 --- /dev/null +++ b/Faza Ahda, 1301154292, IF-39-12/build.xml @@ -0,0 +1,73 @@ + + + + + + + + + + + Builds, tests, and runs the project tugas 1. + + + diff --git a/Faza Ahda, 1301154292, IF-39-12/build/classes/tugas/pkg1/Tugas1.class b/Faza Ahda, 1301154292, IF-39-12/build/classes/tugas/pkg1/Tugas1.class new file mode 100644 index 0000000000000000000000000000000000000000..024110008ee646ce3967514f5178f8e2e9d1daba GIT binary patch literal 383 zcmZus%SyvQ6g@Z1!=}~rA>F&H3JwK#m2L!AK^HCExSGT;PE8X@6aT9#!G#~tj}q@p z1%)~=_i^q$=gjQBK0X0l<1|DI{Q!diLxO*!3ti6$t?~Ji;NF%`86k>wk=-}zB&!xO z$r%~MWh(QfthDKWK(~I@8^SQI8znd5^+ip@!jzLKORc3Y2&3_1ypnHHW9=#7cC1=5~-VH)gRU5yk{dwnz1zR-t+FcALow${qOld0OqioL>iY3 zO!eSnOeYaRURhU6%p@_3s|uMj@rj9f6Q3&RGZWWLTsN^`V$sCs29^wbA&^+~0xw(= zh~_4@1Y$SpWmlko)eGG9c5T~jZpv++$lz+-k^Yu!ddlyDv2e$0sk^XUk*$2ATA9gv zLD}71V5XY%0)gS&qtz$!sm%K_sN_pw(+esKx{_>G$W6cJS|Bc~J6=;j6xo=g@}xUi z+M(y?OO6Zzx5*-j!1JXyb7agO8CL~Pl|t!M*JMNYYG90N2_#GPcGGcJJT+5N_d2cG zOJN8ZfdSp>$sz`pQz+m|6>uYko4CbZ)?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FHY76l07VX z>l>8G*}HnSs=y9o0iP;Z3}XrR1;THL%8fxcIjQg5_|VruXO`w!W&w}PJ?b2lVWmdR zvR!2tus}SlSfc5IY!9zx%Ob6-!#^)83f!1p6{iu%EWK91qZV zXbs^T@gN%XFJo~%r?j#qrWD2^I4F6LgUhjwN`g3DYdCca8*^+7jc72ijL#ZE`(rFc zYpyPMU1jRxY)C+sBBnH>)<6Icqd{dEOX~@YY(B)4bA=}7@_(XloPGl@*@s@pK3u7d z+t`EK!O-Zy4(#V|@d$SD_uPRq*o{H#!6@Rm$|k?TCZEARe#Q4=5eM)U4&o^e;TI(E z8?V40Z2jkK{ue~}3rB?)Nzs9n=*2N{4c+1fj*Hvq5qX>t7EX#K^omC~CBDXKv5K_# z8GYhc^o!qdMm)n=@h8rSmpJe7V8F8r7d$6%(KCsW+P(P^?c^|n9x@eV_7Eqjd1+Zh zFEu||mT-!iLM~IT-wWJ!{K#$6^?MH8@gtv`jvv|0xqf*R96vIhbp4+3w^oZwhBL0; zOLC~iCEE!%F7GZ*Bh5+=dRowje%|k}XNYw@ixAGyz8AiKSiVgP&U03Kgn|L!74E;n P=dbX9$z7n`gNy$HcMS}% literal 0 HcmV?d00001 diff --git a/Faza Ahda, 1301154292, IF-39-12/manifest.mf b/Faza Ahda, 1301154292, IF-39-12/manifest.mf new file mode 100644 index 0000000..328e8e5 --- /dev/null +++ b/Faza Ahda, 1301154292, IF-39-12/manifest.mf @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +X-COMMENT: Main-Class will be added automatically by build + diff --git a/Faza Ahda, 1301154292, IF-39-12/nbproject/build-impl.xml b/Faza Ahda, 1301154292, IF-39-12/nbproject/build-impl.xml new file mode 100644 index 0000000..714673e --- /dev/null +++ b/Faza Ahda, 1301154292, IF-39-12/nbproject/build-impl.xml @@ -0,0 +1,1419 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set src.dir + Must set test.src.dir + Must set build.dir + Must set dist.dir + Must set build.classes.dir + Must set dist.javadoc.dir + Must set build.test.classes.dir + Must set build.test.results.dir + Must set build.classes.excludes + Must set dist.jar + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + No tests executed. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must set JVM to use for profiling in profiler.info.jvm + Must set profiler agent JVM arguments in profiler.info.jvmargs.agent + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + To run this application from the command line without Ant, try: + + java -jar "${dist.jar.resolved}" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + Must select one file in the IDE or set run.class + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set debug.class + + + + + Must select one file in the IDE or set debug.class + + + + + Must set fix.includes + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + Must select one file in the IDE or set profile.class + This target only works when run from inside the NetBeans IDE. + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + This target only works when run from inside the NetBeans IDE. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select one file in the IDE or set run.class + + + + + + Must select some files in the IDE or set test.includes + + + + + Must select one file in the IDE or set run.class + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Must select some files in the IDE or set javac.includes + + + + + + + + + + + + + + + + + + + + Some tests failed; see details above. + + + + + + + + + Must select some files in the IDE or set test.includes + + + + Some tests failed; see details above. + + + + Must select some files in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + Some tests failed; see details above. + + + + + Must select one file in the IDE or set test.class + + + + Must select one file in the IDE or set test.class + Must select some method in the IDE or set test.method + + + + + + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + Must select one file in the IDE or set applet.url + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Faza Ahda, 1301154292, IF-39-12/nbproject/genfiles.properties b/Faza Ahda, 1301154292, IF-39-12/nbproject/genfiles.properties new file mode 100644 index 0000000..6d8079c --- /dev/null +++ b/Faza Ahda, 1301154292, IF-39-12/nbproject/genfiles.properties @@ -0,0 +1,8 @@ +build.xml.data.CRC32=2730d5f1 +build.xml.script.CRC32=66bda6ec +build.xml.stylesheet.CRC32=8064a381@1.79.1.48 +# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml. +# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you. +nbproject/build-impl.xml.data.CRC32=2730d5f1 +nbproject/build-impl.xml.script.CRC32=e6641b3c +nbproject/build-impl.xml.stylesheet.CRC32=05530350@1.79.1.48 diff --git a/Faza Ahda, 1301154292, IF-39-12/nbproject/private/private.properties b/Faza Ahda, 1301154292, IF-39-12/nbproject/private/private.properties new file mode 100644 index 0000000..d689f61 --- /dev/null +++ b/Faza Ahda, 1301154292, IF-39-12/nbproject/private/private.properties @@ -0,0 +1,2 @@ +compile.on.save=true +user.properties.file=/home/faza/.netbeans/8.1/build.properties diff --git a/Faza Ahda, 1301154292, IF-39-12/nbproject/private/private.xml b/Faza Ahda, 1301154292, IF-39-12/nbproject/private/private.xml new file mode 100644 index 0000000..9e408da --- /dev/null +++ b/Faza Ahda, 1301154292, IF-39-12/nbproject/private/private.xml @@ -0,0 +1,12 @@ + + + + + + file:/home/faza/Documents/tugas%20PBO/tugas%201/src/tugas/pkg1/temperatureconv.java + file:/home/faza/Documents/tugas%20PBO/tugas%201/src/tugas/pkg1/prima.java + file:/home/faza/Documents/tugas%20PBO/tugas%201/src/tugas/pkg1/Tugas1.java + file:/home/faza/Documents/tugas%20PBO/tugas%201/src/tugas/pkg1/index.java + + + diff --git a/Faza Ahda, 1301154292, IF-39-12/nbproject/project.properties b/Faza Ahda, 1301154292, IF-39-12/nbproject/project.properties new file mode 100644 index 0000000..d7a204a --- /dev/null +++ b/Faza Ahda, 1301154292, IF-39-12/nbproject/project.properties @@ -0,0 +1,74 @@ +annotation.processing.enabled=true +annotation.processing.enabled.in.editor=false +annotation.processing.processor.options= +annotation.processing.processors.list= +annotation.processing.run.all.processors=true +annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output +build.classes.dir=${build.dir}/classes +build.classes.excludes=**/*.java,**/*.form +# This directory is removed when the project is cleaned: +build.dir=build +build.generated.dir=${build.dir}/generated +build.generated.sources.dir=${build.dir}/generated-sources +# Only compile against the classpath explicitly listed here: +build.sysclasspath=ignore +build.test.classes.dir=${build.dir}/test/classes +build.test.results.dir=${build.dir}/test/results +# Uncomment to specify the preferred debugger connection transport: +#debug.transport=dt_socket +debug.classpath=\ + ${run.classpath} +debug.test.classpath=\ + ${run.test.classpath} +# Files in build.classes.dir which should be excluded from distribution jar +dist.archive.excludes= +# This directory is removed when the project is cleaned: +dist.dir=dist +dist.jar=${dist.dir}/tugas_1.jar +dist.javadoc.dir=${dist.dir}/javadoc +excludes= +includes=** +jar.compress=false +javac.classpath= +# Space-separated list of extra javac options +javac.compilerargs= +javac.deprecation=false +javac.external.vm=true +javac.processorpath=\ + ${javac.classpath} +javac.source=1.8 +javac.target=1.8 +javac.test.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +javac.test.processorpath=\ + ${javac.test.classpath} +javadoc.additionalparam= +javadoc.author=false +javadoc.encoding=${source.encoding} +javadoc.noindex=false +javadoc.nonavbar=false +javadoc.notree=false +javadoc.private=false +javadoc.splitindex=true +javadoc.use=true +javadoc.version=false +javadoc.windowtitle= +main.class=tugas.pkg1.Tugas1 +manifest.file=manifest.mf +meta.inf.dir=${src.dir}/META-INF +mkdist.disabled=false +platform.active=default_platform +run.classpath=\ + ${javac.classpath}:\ + ${build.classes.dir} +# Space-separated list of JVM arguments used when running the project. +# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value. +# To set system properties for unit tests define test-sys-prop.name=value: +run.jvmargs= +run.test.classpath=\ + ${javac.test.classpath}:\ + ${build.test.classes.dir} +source.encoding=UTF-8 +src.dir=src +test.src.dir=test diff --git a/Faza Ahda, 1301154292, IF-39-12/nbproject/project.xml b/Faza Ahda, 1301154292, IF-39-12/nbproject/project.xml new file mode 100644 index 0000000..39e9fe8 --- /dev/null +++ b/Faza Ahda, 1301154292, IF-39-12/nbproject/project.xml @@ -0,0 +1,15 @@ + + + org.netbeans.modules.java.j2seproject + + + tugas 1 + + + + + + + + + diff --git a/Faza Ahda, 1301154292, IF-39-12/src/tugas/pkg1/Tugas1.java b/Faza Ahda, 1301154292, IF-39-12/src/tugas/pkg1/Tugas1.java new file mode 100644 index 0000000..f61719e --- /dev/null +++ b/Faza Ahda, 1301154292, IF-39-12/src/tugas/pkg1/Tugas1.java @@ -0,0 +1,24 @@ +/* +Nama: Faza Ahda +NIM: 1301154292 +Kelas: IF-39-12 + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package tugas.pkg1; + +/** + * + * @author faza + */ +public class Tugas1 { + + /** + * @param args the command line arguments + */ + public static void main(String[] args) { + // TODO code application logic here + } + +} diff --git a/Faza Ahda, 1301154292, IF-39-12/src/tugas/pkg1/index.java b/Faza Ahda, 1301154292, IF-39-12/src/tugas/pkg1/index.java new file mode 100644 index 0000000..494af40 --- /dev/null +++ b/Faza Ahda, 1301154292, IF-39-12/src/tugas/pkg1/index.java @@ -0,0 +1,46 @@ +/* +Nama: Faza Ahda +NIM: 1301154292 +Kelas: IF-39-12 + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package tugas.pkg1; + +import java.util.Scanner; + +/** + * + * @author faza + */ +public class index { + public static void main(String[] args) { + // TODO code application logic here + int akhir; + Scanner cin = new Scanner(System.in); + System.out.print("Masukan Nilai UTS: "); + int nilai1=cin.nextInt(); + System.out.print("Masukan Nilai UAS: "); + int nilai2=cin.nextInt(); + System.out.print("Masukan Nilai Quiz: "); + int nilai3=cin.nextInt(); + akhir = (35*nilai1/100) + (40*nilai2/100) + (25*nilai3/100); + if (akhir < 49){ + System.out.println ("Failed"); + }else if (akhir >= 85 && akhir <= 100){ + System.out.println ("Excellent"); + }else if (akhir >= 75 && akhir <= 84){ + System.out.println ("Very Good"); + }else if (akhir >= 65 && akhir <= 74){ + System.out.println ("Good"); + }else if (akhir >= 50 && akhir <= 64){ + System.out.println ("Accepted"); + }else{ + System.out.println("Anda salah menginputkan akhir"); + } + + + } + +} diff --git a/Faza Ahda, 1301154292, IF-39-12/src/tugas/pkg1/prima.java b/Faza Ahda, 1301154292, IF-39-12/src/tugas/pkg1/prima.java new file mode 100644 index 0000000..b537b16 --- /dev/null +++ b/Faza Ahda, 1301154292, IF-39-12/src/tugas/pkg1/prima.java @@ -0,0 +1,42 @@ +/* +Nama: Faza Ahda +NIM: 1301154292 +Kelas: IF-39-12 + * To change this license header, choose License Headers in Project Properties. + * To change this template file, choose Tools | Templates + * and open the template in the editor. + */ +package tugas.pkg1; + +import java.util.Scanner; + +/** + * + * @author faza + */ +public class prima { + public static void main(String[] args) { + // TODO code application logic here + Scanner cin = new Scanner(System.in); + System.out.print("Masukan Bialangan: "); + int bil=cin.nextInt(); + boolean prima = true; + for (int i=2; i