Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int tab1 [7];//zakladamy ze wiemy ile bedzie tych liczb
- j=0;
- for(i=2; i<N; i++)
- {
- if(tab[i]==false)
- {
- tab1[j]=i;
- j++;
- }
- }
- for(j=0; j<7; j++)
- {
- cout<<tab1[j]<<endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement