How do i make a function that uses this statement:
cout << "Enter 4 positive number: "<<endl;
for( x = 0; x < north; x++)
cin >> north;
cin >> south;
cin >> east;
cin >> west;
cout <<'*';
I am not allowed to use assigment statements, only function calls. I don't know how to do that with a statement that isn't mathamatic. I know there is probably a better way to write the above statement, possibly using a loop. But i am really stuck on how to creat a function
Anyone who can help, I would very much appreciate it.