I need this program please.....

Using array and functions crate a program that asks the user to enter the information of ten of his\her friends (name, phone, DOB) and than primo the information in a form of a report

Create a string array similar to below
std::string sArray[10][3];

Use cin or similar to populate the elements of that array.

Post here, your attempts.

I would go with an array of structures

struct personal
{
    std::string name;
    std::string phone;
    std::string DOB;
};

personal per[10];

Yes.
That would be more appropriate, if allowed.

A little update

struct personal
{
    std::string name;
    std::string phone;
    std::string DOB;
};

int main(){
personal per[10];

static short count=0;
while(count <10){

//ask for name entry
//then cin
cin>>per[count].name;
//ask phone
cin>>per[count].phone;

cin>>per[count].DOB;
count++;

}
return 0;
}

i dose not work ....

please i need the whole code

If you cant get this to work, then i guess if i produce the whole code you still can not get that to work either. Show me what you have done so far.....

I appreciate what you have done ... i don't do any thing i am still in the beginning of learning a programing languge .

if you could solve this program please i really need it today .

if you could solve this program please i really need it today .

Welcome to reality. Many of us have worked with someone who cheated their way to a job and couldn't perform. It's not a good situation for a team, so you'll probably get no sympathy.

Next time work harder and start sooner, because you can't expect someone to bail you out if you can't meet a deadline.

thank you for helping me and i realy appreciate who had bring me the idea,,,,

You are welcome.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.