Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //broevi koj se delivi so 4 i 7 vo daden opseg//
- #include <iostream>
- using namespace std;
- int main()
- {
- int n,m,i;
- cout<<"Vnesi prv broj "<<endl;
- cin>>n;
- cout<<"vnesi vtor broj "<<endl;
- cin>>m;
- for(i=n;i<=m;i++)
- {
- if(i%4==0 && i%7==0)
- {
- cout<<i<<",";
- }
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment