I am trying to create a health club maintain that promotes the User to insert the client name and his ID#. I have to use char[15] to store his name and his ID#. Is there any way to store both the name of the client and his ID# in one pace. For example, I want to store both the name of the client and his ID# in char[1]. I am not ALLOWED to promote the user to Insert his name and his ID# all At once for Example This is considered illegal ( Sam 333-1245 )!! I have to promote the name first then the ID# second, then finally store both of them in one place EX
Code:if ( number ==1 ){ cout << "Insert the client's name" << endl; cin >> clientName; cout << "Insert a new ID" << endl; cin >>clientIDNumber; }