How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Scott Your Own Question
Scott, MIT Graduate
Category: Homework
Satisfied Customers: 3040
Experience:  MIT Graduate (Math, Programming, Science, and Music)
Type Your Homework Question Here...
Scott is online now
A new question is answered every 9 seconds

I need help writing this same program.

Customer Question

I need help writing this same program.
Submitted: 2 years ago.
Category: Homework
Customer: replied 2 years ago.
I need to begin my program with this file#include
using namespace std;int main()
double cashDrawer = 500.00;
int productID = 0;
int quantity = 0;
double price = 0.0;
double subtotal = 0.0;
double salesTax = 0.0;
double totalSale = 0.0;
int anotherSale = 1;
Expert:  aitizaz replied 2 years ago.
Hello and welcome to Just Answer!
Please answer the following four questions before i proceed with program development:
1. Do you want me to use this information ( sales information) stored in an object (classes)?
2. can i use function to calculate taxes?
3. which programming tool should i use?
4. when do you need this program? what is the maximum time limit?
Customer: replied 2 years ago.
1. Yes
2. Yes
3. Virtual studios pls
4. Before 9pm preferably (est)
Customer: replied 2 years ago.
The instructions are in the document attached, only exception is you have to start the program with those variables above. For ex. double cashDrawer
Expert:  aitizaz replied 2 years ago.
I am in GMT +5 timezone and here it is 23:35 at the moment. Can i deliver it to you tomorrow same time?
Customer: replied 2 years ago.
Sorry I have to submit before 11:59pm tonight, I will tip
Expert:  aitizaz replied 2 years ago.
Time is short. I can try but do not promise. One last question, the information for each sale displayed in the tables is for reference or it is actually the sale i.e. i have to run the program and sell products as per the table or the tables have been provided for reference to get price? if so, do i need to read this data from the file ?
Customer: replied 2 years ago.
No you have to do 3 sales, and use the information from those tables.
Expert:  aitizaz replied 2 years ago.
how would i get the price for each product since that is not allowed to be entered? should i read the price through this file or should enter it myself?
Customer: replied 2 years ago.
I believe you input the product ID and that brings up the price. Then it has be able to tell how many of that item was purchased along with if it is taxable or not. At the end of each table it has to calculate the total.
Expert:  aitizaz replied 2 years ago.
i just have 10 minutes left for this job?
Customer: replied 2 years ago.
im not sure why it says that, how can I change that?
Expert:  aitizaz replied 2 years ago.
how much time do i have for this? how many hours?
Customer: replied 2 years ago.
6-7 hours
Customer: replied 2 years ago.
8 would be the max
Customer: replied 2 years ago.
Do you have the ability to speak to other tutors on here? I see my exact question has been asked before, maybe you can consult with the other tutor?
Expert:  aitizaz replied 2 years ago.
can you give me the link to that question please?
Customer: replied 2 years ago.
Expert:  aitizaz replied 2 years ago.
I am not able to get in touch with that expert at the moment. i will try to create it myself.
let you know if i can do it today. thank you
Customer: replied 2 years ago.
Please let me know the sooner if you can't, so I can leave work to try it thank you sir
Expert:  aitizaz replied 2 years ago.
Expert:  aitizaz replied 2 years ago.
I am sorry but i will not be able to work on this program. i am opting out so that any other expert may help you. thank you for your patience.
Customer: replied 2 years ago.
(Posted by JustAnswer at customer's request) Hello. I would like to request the following Expert Service(s) from you: Software Development. Let me know if you need more information, or send me the service offer(s) so we can proceed.