Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstdlib>
- #include <iostream>
- using namespace std;
- int main (){
- int a,b;
- cout<<"Unesite broj: ";
- cin>>a;
- b=a;
- for (int i=0; i<100;i++){
- a++;
- if(a%b==0) cout<<a<<" "<<endl;
- }
- system("PAUSE");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement