Please ,could you explain this sentence
The wins should be input in a parameter-less value returning function that returns the wins to the main function
returning function just returns value and does not print message , right ?
#include<iostream>
using namespace std;
int wins(int wins)
{
cout<<"Please input the number of wins"<<endl;
cin>>wins;
return wins ;
}
int losses(int losses)
{
cout<<"Please input the number of losses"<<endl;
cin>>losses;
return losses;
}
int main()
{
how?
}