Re: drink machine Programming Software Development by Clinton Portis …;\t|\\ | |\n"; cout << "\t| \\ | Machine o' Drink |\n"; cout << "\t| \\|_________________________________________|\n"… program to simulate a soft drink machine. PLease help!!! Programming Software Development by queenma7 …use a structure that stores the following information: Drink name Drink cost Number of drinks in machine The program…The elements should be initialized with the following data: Drink Name Cost Number in Machine Coke .75 20 …cost; int Num_of_drinks; }; struct Machine Drink[4]; drink[0]= {"coke", .75, 20}; drink[1]= {"A and W"… Re: program to simulate a soft drink machine. PLease help!!! Programming Software Development by queenma7 …{ string Drink_name; float cost; int num_drinks; }; struct Machine drink[] = {{"coke", .75, 20}, {"A …(menu_choice != 6) { cout <<"which drink would you like to buy:" << endl;…lt;<" your change is:" << (moneyin - drink[0].cost) << endl; } } return 0; } … Re: program to simulate a soft drink machine. PLease help!!! Programming Software Development by John A …, reference the cost by doing something like [inlinecode]drink[menu_choice].cost[/inlinecode] instead of all those ugly if… you validated your menu choice: [code] while (moneyin < drink[menu_item].cost) { // keep asking for correct amount } [/code]… incorrect, isn't it? [code] while (moneyin < drink[0].cost) { cout <<"enter" <… Re: program to simulate a soft drink machine. PLease help!!! Programming Software Development by ~s.o.s~ …] typedef struct { string name ; int count ; } Drink ; int main( ) { Drink aDrink = { "cola", 20 } ; // one way Drink arr_drink[2] = { { "cola"… Re: program to simulate a soft drink machine. PLease help!!! Programming Software Development by Lerner … the terminal t is a typo 2) This: struct Machine Drink[4]; I believe would be correct in C but you… Re: Your Favorite Drink Community Center Geeks' Lounge by GrimJack I drink so much sparkling water that I am buying a 20lb. … of work supplies all the free talking rain I can drink (but that job is ending this week - but then so… days, so it is a wash I guess). For 'drink' drinks, I drink bourbon & coke in the winter and tequila &… Hot Drink Menu Programming Software Development by blazemadej … = 'C', CAPPUCCINO_CHOICE = 'D', EXIT_CHOICE = 'E'; // Constants drink prices const double COFFEE = 1.00, TEA = 0.75, HOT_CHOCOLATE…;< setprecision(2); do { // Display the drink menu. cout << "\n\t\… Re: What do you like to drink? Community Center Geeks' Lounge by Ancient Dragon I don't care much for wine, but I'll drink it if I have to :) I absolutely hate whiskeys and burbones. My favorite is Black Russians, vidka and gin. But, alas, I can't drink any of that any more ***sigh*** Re: What do you like to drink? Community Center Geeks' Lounge by uniquestar My drink is something I concocted while rat-arsed, and looking for something new. Brilliant when you're on the lash and want to get fubar'd, not so good as the first drink of the night: Take 1 Pint Snakebite & Black (1/2ish pint cheap cider + 1/2ish pint cheap lager + dash of blackcurrant cordial). Stir in a shot of Absinthe. Get f**ked! Re: Your Favorite drink Community Center Say Hello! by Ancient Dragon I love Irish Mist, but can't drink it any more. Now I just drink diet Pepsi, water, and ice tea. Your Favorite Drink Community Center Geeks' Lounge by sneekula Just another nosy poll. What is your favorite drink in your life? Re: Your Favorite Drink Community Center Geeks' Lounge by Nick Evan Neither. When I was *a lot* younger, I passed out from wisky... That was the end of my wiskeyadventures. I drink coffee at day-time (and lots of it) and for inspriration I have a [URL="http://images.breuls.org/blog/200404/grolschBeugel.jpg"]Grolsch-Beugel.[/URL] (local beer) Niek Re: Your Favorite Drink Community Center Geeks' Lounge by Ancient Dragon [QUOTE=jbennet;539240]do you guys prefer whisky or irish whiskey?[/QUOTE] I don't like whisky or burbons. Vodka, Gin, Kalua, Irish Mist are about the only alcholoic drinks I used to drink -- don't do that anymore either. I was never alcholic just stopped drinking due to other medical problems. **sighh** Re: Your Favorite Drink Community Center Geeks' Lounge by Jx_Man Pocari sweat, milk but i drink water every day. Re: Your Favorite Drink Community Center Geeks' Lounge by GrimJack … guys prefer whisky or irish whiskey?[/QUOTE] At home, I drink bourbon (corn mash whiskey) or Canadian (Rye based). When I… What do you like to drink? Community Center Geeks' Lounge by gehher … some friends. anything really. and i feel those that dont drink would naturally just not post here so it should be… Re: Your Favorite Drink Community Center Geeks' Lounge by ScudRunner50 I drink green tea all day long, go through a few gallons … Re: Your Favorite Drink Community Center Geeks' Lounge by sneekula [QUOTE=jbennet;548165]we use stills then cask it i like scotch irish american in that order[/QUOTE]I thought you were much too young to drink alcohol. Re: Your Favorite Drink Community Center Geeks' Lounge by Ezzaral [QUOTE=sneekula;548969]I thought you were much too young to drink alcohol.[/QUOTE] Legal age is 18 in the UK. Re: Your Favorite Drink Community Center Geeks' Lounge by twomers And 16 in some countries in mainland Europe. >> I thought you were much too young to drink alcohol. Also a subtlety ... being too young to buy alcohol doesn't mean you can't get it. Re: Your Favorite Drink Community Center Geeks' Lounge by Lardmeister [QUOTE=jbennet;549160]14 in spain/portugal[/QUOTE]In the US, you can go to Iraq and shoot a few Arabs when you are 18, but you have to be 21 if you want to drink to that. Re: Your Favorite Drink Community Center Geeks' Lounge by ScudRunner50 [QUOTE=Lardmeister;550281]In the US, you can go to Iraq and shoot a few Arabs when you are 18, but you have to be 21 if you want to drink to that.[/QUOTE] Only according to the law. I highly doubt more than 10% of 18-20 year olds in the States actually care what the laws says. Re: Your Favorite Drink Community Center Geeks' Lounge by bumsfeld I like wine, for refreshing drink I mix red table wine with fruit juices. Re: What do you like to drink? Community Center Geeks' Lounge by Drezta my favorite is a nice test-tube full of jagermister to start the party swinging, and i then prefer to drink Ales or Bitters. Whiskey (Scotch) is always a good choice is money allows for it and i don't try mixing drinks anymore, they all come out radioactive looking.... Don't Drink And Gocart Community Center Geeks' Lounge by Ancient Dragon [url]http://www.break.com/index/dont-drink-and-go-cart.html[/url] Your Favorite drink Community Center Say Hello! by georgecalvin12 Hi Guise,let me know what is your favorite drink specially in Coffee? if some other which you like most. Re: Your Favorite drink Community Center Say Hello! by happygeek My favourite drink in coffee? That would be, let me see, erm, yes that's it, coffee... Re: Your Favorite drink Community Center Say Hello! by DTSCode its terrible for me. i am pretty sure im going insane through a combination of that, lack of sleep, and c++, but the only thing i care about is getting a kidney stone so i drink a lot of water Re: Your Favorite drink Community Center Say Hello! by mikef76205 My favourite drinks are: Irish coffee Energy Drink Lemonade