Advertisement
herlom

Q4

Jul 27th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static void main (String[] args) {
  2.     Scanner teste = new Scanner(System.in);
  3. Int dia  = teste.nextlnt();
  4. Int mês  =  teste.nextlnt();
  5. Int ano  = teste.nextlnt();
  6. If((ano%400==0) ll (ano%4==0 & ! (ano%100==0))){
  7. }else{
  8. System.out.println(“ano e bissexto.”);
  9. }
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement