Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In C++ only in C++ Program 1 (warm up): Mentos Protection Plan. It's famously known that Mentos (the Fresh Maker), when mixed with Diet Coke,

In C++ only in C++ image text in transcribed
Program 1 (warm up): Mentos Protection Plan. It's famously known that Mentos (the Fresh Maker), when mixed with Diet Coke, produces a fairly intense explosion of foam (you can find endless videos on YouTube). For this program, you will write a meal checker that asks the user for what they plan on eating and what they plan on drinking. If the user types in "mentos" for their food and "dietcoke" for their drink, you must warn them of their impending doom! Your task is to design (pseudocode) and implement (source code). See appendix for checking string equality Sample run 1: Enter your food: tofu Enter your drink: tea Panda, you are free to eat! Sample run 2 Enter your food: mentos Enter your drink: tea Panda, you are free to eat! Sample run 3 Enter your food: mentos Enter your drink: dietcoke Don't do it! You won't live

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Conceptual Database Design An Entity Relationship Approach

Authors: Carol Batini, Stefano Ceri, Shamkant B. Navathe

1st Edition

ISBN: 0805302441, 978-0805302448

Students also viewed these Databases questions