What are the errors in this code?
void main (void)
{
char name [2] [30], number [2] [10] ;
char << "Please type your first name, a blank, and last name) << endl ;
cin >> name ;
cout << "Name=" <<name << endl ;
cout << "Please type a number, press the return key, and another number << endl ;
cin >> number [0] >> endl ;
cout << number << endl ;

}
What are the errors in this code?
===

void main (void)
{
char name [2] [30], number [2] [10] ;
char << "Please type your first name, a blank, and last name) << endl ;
cin >> name ;
cout << "Name=" <<name << endl ;
cout << "Please type a number, press the return key, and another number << endl ;
cin >> number [0] >> endl ;
cout << number << endl ;

}