Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main (String[] args) {
- Scanner teste = new Scanner(System.in);
- Int dia = teste.nextlnt();
- Int mês = teste.nextlnt();
- Int ano = teste.nextlnt();
- If((ano%400==0) ll (ano%4==0 & ! (ano%100==0))){
- }else{
- System.out.println(“ano e bissexto.”);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement