Hi,
below is my unfinished code.what i realy want help on is how do i display or take the values of a and b to main?
#include<iostream>
using namespace std;
int ReadInput (int,int);
float CalcIceCreamCost ();
float CalcDeliveryCost ();
float DisplayCosts ();
int main()
{
int flava,cart,delivery;
flava = 0;
cart = 0;
cout<<" Mulaudzi Ice-Cream Limited\n"
<<" --------------------------\n";
ReadInput(flava,cart);
cout<<"Ur flava is : "<<flava<<endl;
cout<<"Ur # of cartoons is : "<<cart<<endl;
return 0;
}
int ReadInput (int a,int b)
{
cout<<"Please enter flavour(1=choco,2=caramel,3=mint) : ";
cin>>a;
cout<<"Please enter number of cartoons(1-20) : ";
cin>>b;
return a,b;
}