Advertisement
overridetut

Untitled

Apr 13th, 2015
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #include <cstdlib>
  2. #include <iostream>
  3. using namespace std;
  4. int main (){
  5. int a,b;
  6. cout<<"Unesite broj: ";
  7. cin>>a;
  8. b=a;
  9.  
  10.  
  11. for (int i=0; i<100;i++){
  12. a++;
  13. if(a%b==0) cout<<a<<" "<<endl;
  14.  
  15. }
  16.  
  17. system("PAUSE");
  18. return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement