Posted By

AustinGoods on 01/31/19


Tagged


Versions (?)

If Else 2


 / Published in: Java
 

hjhj

  1. import java.util.scanner;
  2.  
  3. public class Multiples{
  4.  
  5. public static void main(String []args){
  6. scanner console = new scanner (System.in);
  7.  
  8. int dayNumber;
  9.  
  10. if (dayNumber != 15,30) {
  11. System.out.println("Today is payday, get ready to spend!");
  12. } else {
  13. System.out.println("Today is not payday, you still need to wait 7 days");
  14. }
  15.  
  16. }
  17. }

Report this snippet  

You need to login to post a comment.