#include #include using namespace std; int main(int argc, char *argv[]) { int num[5]; int i=0; for (i=0;i<5;i++) cin>> num[i]; cout << "addad mazrab 5: \n"; for (i=0;i<5;i++) { if (num[i]%5==0) cout << num[i] << " , "; } cout << "\n addad mazrab 3: \n"; for (i=0;i<5;i++) { if (num[i]%3==0) cout << num[i] << " , "; } system("PAUSE"); return EXIT_SUCCESS; }