þ LÜÜ °TÐÿÿÿÿÿÿÿÿ¥¥ € Š š š š š š š     à=Ð/Ð8š Allan Clark //Allan Clark aldance.cpp// //sept 17/02 // September 17,2002 //to display a night deposit slip of a dance ICS 3MO using COUT statements// Slack, J #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 // int sold; // int is type integer, variable name - sold // double cost, receipt; // double is type real (decimal) - variable names - cost, receipt // char deposit, date[15]; // char is type character - variable name - deposit (1 character) // // variable date is a string of characters, up to 15 characters // main() { //Opens a routine/body for code statements// strcpy(date,"September"); // strcpy is a copy of a string, the variable is called month, and the data is "September" // sold = 435; cost = 6.35; receipt = cost * sold; deposit = 'Y'; getch(); // First Screen Prompting // clrscr(); // Clears the Screen // cout << endl; time_t t=time(NULL); cout<< ctime(&t)<< endl << endl; //Displays the time// cout <<" *School Dance*"<< endl; cout <<" *"; cout <