Advertisement
Guest User

Untitled

a guest
Nov 19th, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.16 KB | None | 0 0
  1. int primo(int n){
  2. // verifica se e primo
  3. }
  4.  
  5.  
  6. void main(){
  7.     int limite = 100;
  8.     for(int i=0; i<limite; i++) if(primo(i)) printf("%d é primo\n", i);
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement