#include <iostream>
usingnamespace std;
void MaxorMin(int n, double x){
cout << "Tyoe two numbers: ";
cin >> n >> x;
}
int main() {
MaxorMin(int n, double x);
}
I dont think you really know how functions work yet. When you're calling for the MaxMin function, which takes 1 integer, and one double as paramters. You're supposed to give it those parameters.