wiley_pastebin

lesson 2 control flow 2

Mar 15th, 2019
2,266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.12 KB | None | 0 0
  1. int num = 10;
  2. if(num <= 0){
  3.  //code here
  4. }
  5. else if(num == 100) {
  6.  //code here
  7. }
  8. else {
  9.  //code here
  10. }
Advertisement
Add Comment
Please, Sign In to add comment