Posts

Showing posts with the label All Universities Students

Do not cheat on the Exam

Image
This week is assessment time, the most important things is prepare your self, learn hard and practice your code in Object oriented programming using Java tools, remember guys..I will score three indicators of your test, design, code and output of your product. two days ago, I found so many students who did the bad things as I told above, they put their bag in front of the class room included their hand phone and some other communications tools, I found some diligent students were still trying to code, I know that the code was complex enough... Unfortunately I saw some students who didn't code and design, but can get the three applications less than 2 minutes, it was the product of two students who finished early...perhaps some of them gave the application of assessment to him/her, but I know the design and code, he or she just edit the design such as change font style, color. no tolerance for the students who cheat or do plagiarism in the exam, the score will be E if y...

Selection-01 in Java

package IF_1Java;  import java.io.BufferedReader;  import java.io.IOException;  import java.io.InputStreamReader;  public class IF_1 {  public static void main(String[] args) {    System.out.println("Masukan bilangan Anda : ");    BufferedReader bfr = new BufferedReader    (new InputStreamReader(System.in));    String angkaInput = null;    try {       angkaInput = bfr.readLine();   } catch (IOException e) {     e.printStackTrace(); }  int Data = Integer.valueOf(angkaInput).intValue();  if (Data > 0)     System.out.print ("Bilangan Positif"); else if (Data < 0)    System.out.print("Bilangan Negatif"); else    System.out.print ("Anda memasukan bilangan Nol"); }  }