Tutor to complete C++ Assignment ASAP

Budget $30 - $250 USD
Bids 6
Average Bid $118
Status Closed

Background: Rewrite a current code using functions. And, there are to be modifications. You are going to code a rude vending machine that has a pension for snarky comments and a mind of its own.

Specifications: For this program, you will make judicious use of functions to simplify your code. Thus, with proper use of functions, you will simplify the main function, delegate tasks, avoid repeated code, etc. ... all good things functions do for you. You will be graded on how well you do this. The way you choose your functions will be up to you. Furthermore, you are to compose this program in multiple files. And, you are now required to accompany all function prototypes with appropriate documentation as you were shown in lecture.

First, change the initial quantities of the roots all to 12 except the first option; keep it at 5.

In addition, you will include the following modifications in the functionality.

First, you will write your code to randomize the menu choice. So, when the user inputs the menu choice, your code will assign its choice by randomly choosing between and including 1 and 7 (that's right, one more than legal).

Next, you will write your code to output a message along with this menu choice that follows this rule:

if the user's choice matches the (value of) your program's random choice, then the message is "Fine! ... but you're gonna be sorry."

otherwise, the message is randomly chosen from the following list of possibilities, followed by the name of the item corresponding to the program's choice.

"No, you really want "

"As my uncle Hal would say, "I can't do that for you, Dave. You want " "

"Only a loooooser would want THAT. Try this instead: "

"WRONG! I'm sure you meant to pick "

"PPpfffffttt. I think you need "

"Only idiots choose that. Better to have some "

"Tss, you must be Homer! Only Homer would want that. Lisa's preference is "

Furthermore, when it comes to ordering the amount of the item so chosen, your code will prompt and read in an amount as usual. But, your code will randomly generate a number between and including 1 and twice what the user inputs, and uses this new amount in the following bullet.

This machine-chosen amount will be included in an output message chosen accordingly:

if the user's input matches the program's choice, output "I can do that ... "


if the program's choice is less than user's input, output "That's waayyy too much for you. You want "

if the program's choice is greater than user's input, output "Naw naw naw, you need "

In both the foregoing cases, follow the message by how many the program chose.

And last, but not least, your program is to calculate the tax following the "trickle-down principle"

if the subtotal is less than $100, tax is 50%

if the subtotal is from $100 up to and including $300, tax is 27%

if the subtotal is above $300, tax is 2%... you know, like 2% malk.

This insanity would continue until your program's randomness lands on 6, the quit option. (The user might pick quit, but your program might not let them!) Of course, the subtotal, tax, and total is then computed and etc.

Get Free Quotes For A Project Like This

Looking to make some money?

  • Set your budget and the time frame
  • Outline your proposal
  • Get paid for your work

Bids on this Project

  • nromashchenko Profile Picture


    St Petersburg,  Russian Federation

    5 years' experience of C++ developing Advanced Python developer Advanced Linux user (5 years' experience)

  • thinkitltd4 Profile Picture


    Sherpur Sadar,  Bangladesh

    Hello, I am Plabon. I am professional data entry the last 1 years i have well experience in data entry job and others computer task. I can guarantee my accuracy level up to the international standard. Please see my ability to achieve entire task with in given time frame over the following areas. >> Email and Phone number collection specialist >>Web Research >>Lead Generation >>Data Entry >>Data Analysis >>Video Uploading >> Product research & uploading >>Data Mining >>Google Spreadsheet >>Advanced on MS Office and Google docs. >>PDF File to Microsoft Excel,Microsoft Word Specialist. I am able to work at pacific standard time. My working ability is 35-40 Hours in a week.

  • misunderstood173 Profile Picture



    I am a computer science student. I know basic C/C++/C# programming and some SQL, always trying to improve myself.

  • raulbehl Profile Picture


    Zuarinagar,  India

    I am a Electronics & Instrumentation Engineer. My skills set include: i) Matlab/LabView/Logisim ii) Engineering Mathematics iii) Assembly (ARM, MIPS, PLP, x86 and pep/8) / Computer Architecture iv) Verilog/System Verilog/UVM v) Raspberry Pi/Arduino/TMS320C5535 eZdsp/TM4C123 vi) PSpice vii) C/C++, Qt, Python viii) Perl Happy to help! :-)

  • hbxfnzwpf Profile Picture


    Beijing,  China

    I am a MMORPG game developer, mainly focus on server side, and I am also very proficient in client side development. I have 15 years programming experience now, and have worked for 7 years. I am an expert of C++ and Java, and proficient in developing under Windows, Linux/Unix, and Embeded environment. I promise to give you the best solution.

  • visweswaran1998 Profile Picture


    MADURAI,  India

    I am a professional C,C++,Java,Python programmer who has vast experience in the field of programming. I'm one of the meritorious candidate who were certified from an International institution in programming with Python. I am extremely capable of working with C, C++11, C++14 ,Java8, Python 2.7 and 3.x versions, SQLite3, Creating android applications etc., I'm extremely capable of programming efficient algorithms for complex problems. I have programmed more number of web scrappers(legal) which scrapes data from different websites and even bots in some cases of web scrapping (e.g. press here to reveal phone number) etc and etc., so I can handle all kinds of web scrapping projects. Developing GUI Applications: 1. Python 2.x and 3.x ===> Tkinter framework (cross-platform) 2. C or C++ ===> Qt framework(cross-platform) So I am also capable of programming GUI applications too. In addition to programming I am also capable of handling data entry projects too.