#include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
int n, multi = 1;
cout << "Input n: "; cin >> n;
for(int i = 1; i < n; i++){
if(i % 2 == 0){
multi *= i;
}
cout <<"Multi all even numbers: " << multi << endl;
system("pause");
return 0;
#include <iostream>
#include <cstdlib>
using namespace std;
int main()
{
int n, multi = 1;
cout << "Input n: "; cin >> n;
for(int i = 1; i < n; i++){
if(i % 2 == 0){
multi *= i;
}
}
cout <<"Multi all even numbers: " << multi << endl;
system("pause");
return 0;
}