Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int primo(int n){
- // verifica se e primo
- }
- void main(){
- int limite = 100;
- for(int i=0; i<limite; i++) if(primo(i)) printf("%d é primo\n", i);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement