Skip to content
Snippets Groups Projects
Commit bf83ae28 authored by salma-lti's avatar salma-lti
Browse files

Tâche 7

parent 146a8d62
No related branches found
No related tags found
No related merge requests found
......@@ -42,6 +42,12 @@ public class PrintAlarm implements Tickable{
reached = false;
seconds_since = 0;
}
if (seconds_since % 3 ==0){
System.out.println("fizz");
}
if (seconds_since % 5 ==0){
System.out.println("buzz");
}
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment