#include<iostream>
#include<string>
using namespace std;
void helloWorld(string a);
int main()
{
string name;
cout<<"Please enter name: ";
cin>>name;
helloWorld(name);
return 0;
}
void helloWorld(string a)
{
cout<<"\n welcome to the DIC family "<<a<<"\n";
return;
}
This post has been edited by computerfox: 01 March 2009 - 01:15 PM

New Topic/Question

MultiQuote











|