SHARE
TWEET

Untitled

a guest Jun 26th, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. 宣告兩 int 整數 z, b, 以及一個boolean 變數 result
  3.    - 讓 z 大於 b, 印出  :z > b = true"
  4.    */
  5. public class HW5 {
  6.   public static void main (String [] args) {
  7.     int z = 99;
  8.     int b = 17;
  9.     boolean result;
  10.    
  11.     if (z > b == true) {
  12.       System.out.println("z > b = true");
  13.     }
  14.   }
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top