/*This will take the number of coke cans produced in 1975 based on the amount of coke produced. It will tell the number of feet, miles and trips to the moon it would make. Chris Schmidt 9-27-99*/ #include #include int main() { clrscr(); double totalcoke, cans, ounces, height, mileheight,inches; int moontrips; totalcoke=4894000000.0; //amount of coke in gallons produced ounces=totalcoke*128; cans=ounces/12; inches=cans*4.75; height=inches/12; cout<<"********************************************************************************"; cout<<"********************************************************************************"; cout<<"********************************************************************************"; gotoxy(25,2); cout<<"Coke in 1975:How high was it?"<