Find Jobs
Hire Freelancers

Tutor to complete C++ Assignment ASAP

$30-250 USD

Cancelado
Publicado hace más de 7 años

$30-250 USD

Pagado a la entrega
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 ... " otherwise, 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.
ID del proyecto: 11796107

Información sobre el proyecto

5 propuestas
Proyecto remoto
Activo hace 8 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
5 freelancers están ofertando un promedio de $127 USD por este trabajo
Avatar del usuario
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on server side, using c++ under linux environment. I used c++ to make many great projects, for example, I made the tools which can convert java files into c++ scripts, of course garbage collection included, this job is very similar to a compiler, and is very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$100 USD en 1 día
4,9 (141 comentarios)
7,0
7,0
Avatar del usuario
Good Morning Employer, I am extremely comfortable with C++ programming I can provide the robust object oriented C++ code for the price you are interested in Thank you
$111 USD en 3 días
5,0 (28 comentarios)
4,9
4,9
Avatar del usuario
Hello! Please check my reviews to know a bit about me. I would re-structure the entire code and make it look better. Hope you'd contact. Thank you!
$83 USD en 1 día
5,0 (14 comentarios)
4,2
4,2
Avatar del usuario
Programming in c++ what you described shouldn't take more than 1 day. I would be glad to help you with it.
$40 USD en 1 día
0,0 (0 comentarios)
0,0
0,0

Sobre este cliente

Bandera de KOREA, REPUBLIC OF
Seoul, Korea, Republic of
5,0
22
Forma de pago verificada
Miembro desde mar 3, 2014

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.