Write c++ code for program that will take the followinginformations from user 1.
ID: 3619019 • Letter: W
Question
Write c++ code for program that will take the followinginformations from user 1.customer ID 2.Name 3.Phone number 4.Address and it will store this in File . The program should be able to store Maximuim 40 persons informations. The program should let the User to search the file on the Basis ofCustomer ID.use arrays Write c++ code for program that will take the followinginformations from user 1.customer ID 2.Name 3.Phone number 4.Address and it will store this in File . The program should be able to store Maximuim 40 persons informations. The program should let the User to search the file on the Basis ofCustomer ID.
use arrays Write c++ code for program that will take the followinginformations from user 1.customer ID 2.Name 3.Phone number 4.Address and it will store this in File . The program should be able to store Maximuim 40 persons informations. The program should let the User to search the file on the Basis ofCustomer ID.
use arrays
Explanation / Answer
please rate - thanks the code with just arrays and comments for structures, the comments are the same uses cin.ignore which should clear up the other problem #include #include #include #include using namespace std; int main() { int CustomerID[40]; string Name[40]; int PhoneNumber[40]; string Address[40]; ofstream File1; char FileName1[]="Customer.txt"; File1.open(FileName1, ios::out); //open the file if(!File1) // error message in case outputfile cannot be opened { coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.