If you'd like a 'nudge' about how to get started ... then please just ask.
Can you code to print a prompt and then take in a string?
If the first 5 char's of the string, (the first 2 strings),
are always the customer ID,
can you then code to extract that first 5 char sub-string?
(google C++ substr)
Can you then get the remaining char's and convert to an int?
After doing above twice ... (maybe using a loop?) ...
can you then code to print a prompt and take in an int ?
(maybe use: cin >> intValue;)
OK ... let's see your best attempt to code the above steps ...
Hint:
code/compile/test in steps ...
Firstly code a working shell C++ program that compiles ok and
prints out your prompt ok.
Then add in steps, testing each step as you go,
and see how far you can get.
Then ask for help if needed from there,
but show us the code that compiled and worked ok,
and the code for the last step where you had a problem.
Edit:
If you are to read each data set from a long file,
then could firstly open file ... as fin ... and then ...
if( fin )
{
while( fin >> str1 >> str2 >> intValue )
{
// proccess data and show desired output
}
fin.close(); // close file
}
else // print error …