the program is suppose to create a credit report for customers. Can u help me finish
/*
project 8
The purpose of this program is to create a credit report for customers.
variable type represents
last_name string last_name
first_name string first_name
account_Number string account_number
balance double balance
purchases double purchases
*/
int main() {
setup();
cout<<"Do you want to run program";
cin>>reply;
while(reply!="y" && reply!="n")
{
cout<<"error";
cout<<"enter y or n";
cin>> reply;
}
while(reply=="y"){
heading();
input_data();
display_totals();
cout<<"would you like to prepare another chart? (yes/no)"<<endl;
cout<<"press <enter> to continue";
cin>>reply;
while(reply!="y" && reply!="n")
{
cout<<"error";
cout<<"enter y or n";
cin>>reply;
Comments
Leave a comment