Skip to content

Instantly share code, notes, and snippets.

@marcomoura
Created August 31, 2010 10:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marcomoura/558837 to your computer and use it in GitHub Desktop.
Save marcomoura/558837 to your computer and use it in GitHub Desktop.
package javaapplication1;
/*
* kata feito no coding dojo na FATEC-GT
*/
/**
*
* @author @MarcoMoura
* @author Marco Rocca
* @author Alvaro
* @author Cleber Lopes
* @author Wellington
* @author Bruno
* @author Pedro Lemes
*/
public class KataFizzBuzz {
public boolean isFizz(int numRecebido){
int resto = numRecebido%3;
if (resto==0){
return true;
}
}
public boolean isBuzz(int numero){
switch(numero){
case 5:{
return true;
}
default :
return false;
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment