//sept 18/02 // //To display a balance payment notice// #include // a library call for a standard I/O// #include // a library call to clear the screen // #include // a library call to aquire the systems date // #include // a library call to manipulate string variables // double balance, upbalance, payment; // double is type real (decimal) - variable names - balance, upbalance, payment // char month[15], year[5], day[3]; // char is type character // // month is a string of characters, up to 15 characters// // day is a string of characters, up to 2 characters // // year is a string of characters, up to 4 characters// main() { //Opens a routine/body for code statements// getch(); // First Screen Prompting // clrscr(); // Clears the Screen // cout<< "Payment Information Request Sheet: "; time_t t=time(NULL); cout<< ctime(&t)<< endl ; //Displays the time// cout<<"Enter the existing debt owed: $"; cin >> balance; cout<< endl; cout<<"Enter the amount of payment: $"; cin >> payment; cout<< endl; cout<<"Enter the next month: "; cin >> month; cout<< endl; cout<<"Enter the day (Numerical not weekday): "; cin >> day; cout<< endl; cout<<"Enter the year: "; cin >> year; cout<< endl; clrscr(); // Clears the Screen // upbalance = balance - payment; cout<<" Payment Notices as of "; cout<< ctime(&t)<< endl << endl ; //Displays the time// cout<<" Collections will occur on and in the amount of: "<< endl << endl; cout<<" "; cout<