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 ATLProg Your Own Question

ATLProg
ATLProg, Software Engineer
Category: Homework
Satisfied Customers: 8629
Experience:  Expert in Java C++ C C# VB Javascript Design SQL HTML
Type Your Homework Question Here...
ATLProg is online now
A new question is answered every 9 seconds

I am trying to write a program for a final project due this

Resolved Question:

I am trying to write a program for a final project due this Friday, for an intro class. If I write it, do you mind pointing out my errors and telling me what I need to fix to get it to run? It's pretty basic I guess for some like you, and though I think I comprehend it, I miss little details or muddle up the math. Thanks!
Submitted: 1 year ago.
Category: Homework
Expert:  ATLProg replied 1 year ago.
Hello Welcome. Thank you for your question, I’m ATLProg and I’ll try to help you.

How soon do you need this answer ?
Can you please send me a pdf/word document/URL of your assignment description ?
Can you please send me the files you have been working with ?
Can you please go to www.ge.tt and upload your file ? Once you do that you will get a page that has the "Download Link". Copy the "Download Link" and please paste it in your reply here.
Customer: replied 1 year ago.

For ATLProg only


 


Don't need it until 4/26(Fri). Here is the assignment(sent as email) :


 


"Your goal is to create a program that calculates the finance charge and monthly payment on a certain balance of a credit card. You need to ask the user for the current balance of their card and call a function called getAPRCharge(). This function will return the APR charge using this formula: balance * 0.15 * 1/12. You will then call a function called getPayment to calculate the payment owed. If the balance is greater than $1000 then the payment will be (balance + APRcharge) * 0.05, if the balance is between 1000 and 100 then the payment will be (balance + APRcharge) * 0.01, and if the balance is less than 100 then the payment will just be balance + APRcharge. Finally you will print the balance, APR charge, and payment, and ask the user if they wish to run the program again. If they say yes then you will repeat, otherwise exit."


 


And here is the link to my beginning of the program:


http://ge.tt/4PXFqoe/v/0?c


 


The program is supposed to be pretty generic. and the names of the functions HAVE to be exactly what is in the assignment.


 


 


 

Expert:  ATLProg replied 1 year ago.
ok..let me look through...and get back to you
Customer: replied 1 year ago.

For ATLProg only


 


Here is the link of what I have done so far, with the exception of a minor detail. I still cant get it to run...it asks the user for the card balance, and then thats it.


 


http://ge.tt/9dkmMqe/v/0?c

Expert:  ATLProg replied 1 year ago.
ok, I will get started on it
Customer: replied 1 year ago.

Thank you!

Expert:  ATLProg replied 1 year ago.
Welcome
Customer: replied 1 year ago.

How bad did I botch it? Any suggestions?

Expert:  ATLProg replied 1 year ago.
give me 30 pls
Customer: replied 1 year ago.

not sure if i need to respond back for you to respond to me, but here is an error i cant seem to get around:


 


c:\users\sean\documents\visual studio 2010\projects\trial program\trial program\trial.cpp(8): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data


Here is the line of code associated with it:


 


APRCharge = ((balance * 0.15) * (1 / 12));


 


is this why it does not calculate the APR and only asks what my balance is?

Expert:  ATLProg replied 1 year ago.

Sorry, I owe you an response on this...just got caught up wiht other stuff... This 'error that you are referring to... c:\users\sean\documents\visual studio 2010\projects\trial program\trial program\trial.cpp(8): warning C4244: '=' : conversion from 'double' to 'float', possible loss of data

 

 

This is NOT an error, it is actually an warning and has no impact on running of program

Customer: replied 1 year ago.

i understand, i have kids that prevent me from doing stuff all the time.


 


how does the program look? does it make sense? why wont it run correctly?


 


 

Expert:  ATLProg replied 1 year ago.
Well there are several errors in proigram like the ones below, that need to be fixed one by one before program works..


1>d:\c\netbeansprojects\aprcharge\aprcharge\aprcharge.cpp(15): error C2065: 'payment' : undeclared identifier
1>d:\c\netbeansprojects\aprcharge\aprcharge\aprcharge.cpp(18): error C2065: 'payment' : undeclared identifier
1>d:\c\netbeansprojects\aprcharge\aprcharge\aprcharge.cpp(20): error C2065: 'payment' : undeclared identifier
1>d:\c\netbeansprojects\aprcharge\aprcharge\aprcharge.cpp(23): error C2143: syntax error : missing ';' before 'continue'
1>d:\c\netbeansprojects\aprcharge\aprcharge\aprcharge.cpp(23): error C2143: syntax error : missing ';' before '='
1>d:\c\netbeansprojects\aprcharge\aprcharge\aprcharge.cpp(23): error C2044: illegal continue
1>d:\c\netbeansprojects\aprcharge\aprcharge\aprcharge.cpp(23): error C2143: syntax error : missing ';' before '='
1>d:\c\netbeansprojects\aprcharge\aprcharge\aprcharge.cpp(28): error C2059: syntax error : 'continue'
1>d:\c\netbeansprojects\aprcharge\aprcharge\aprcharge.cpp(28): error C2143: syntax error : missing ';' before '{'
1>d:\c\netbeansprojects\aprcharge\aprcharge\aprcharge.cpp(32): error C2065: 'payment' : undeclared identifier
1>d:\c\netbeansprojects\aprcharge\aprcharge\aprcharge.cpp(33): error C2146: syntax error : missing ';' before identifier 'cout'
1>d:\c\netbeansprojects\aprcharge\aprcharge\aprcharge.cpp(40): error C2065: 'payment' : undeclared identifier
1>d:\c\netbeansprojects\aprcharge\aprcharge\aprcharge.cpp(43): error C2059: syntax error : 'continue'
1>d:\c\netbeansprojects\aprcharge\aprcharge\aprcharge.cpp(45): error C2065: 'answer' : undeclared identifier
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Expert:  ATLProg replied 1 year ago.
Actually I ahve fixed all of them now...however there seem to be a few 'logical' errors, I will need to work on those next. I will have a better update tomorrow morning. Here is the latest program ... http://ge.tt/70lNzte/v/0?c


Customer: replied 1 year ago.

ok, thanks, XXXXX XXXXX my last msg! have a good night!

Expert:  ATLProg replied 1 year ago.
ok
Customer: replied 1 year ago.

So I got the program to run with out any errors, but now I need to get the answers to round to the nearest hundredth. I tried floor, and double, but not getting what I was expecting. Here's the link to what I got


http://ge.tt/5ROgd9f/v/0?c


 


I need to have this in in the next hour

Customer: replied 1 year ago.
Relist: Other.
Have not really received an answer and keep getting put off by the original Expert
Expert:  ATLProg replied 1 year ago.
Hi, I am sorry i was away..I will take a look at your latest code right away...

Sorry but your original question page was closed so I could never reply back to you earlier
Customer: replied 1 year ago.

Yeah I couldnt get on the site all day yesterday and part of this morning....maybe why? thanks, XXXXX XXXXX here!


 

Expert:  ATLProg replied 1 year ago.
yes, something was wrong on website. i apologise for that. I am working on it right away..
Expert:  ATLProg replied 1 year ago.
THIS ANSWER IS LOCKED!
You can view this answer by clicking here to Register or Login and paying $3.
If you've already paid for this answer, simply Login.
ATLProg, Software Engineer
Category: Homework
Satisfied Customers: 8629
Experience: Expert in Java C++ C C# VB Javascript Design SQL HTML
ATLProg and 4 other Homework Specialists are ready to help you
Customer: replied 1 year ago.

A huge thanks!

Expert:  ATLProg replied 1 year ago.
I hope I’ve provided the information you were seeking. If you are happy with my service, please provide a rating. If not, please let me know so l can continue to help you. Thank you.


Please start your question text with "For ATLProg Only" to request me again, next time you need help!
http://www.justanswer.com/homework/expert-atlprog/ - Please bookmark this link to ask new question.

JustAnswer in the News:

 
 
 
Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.
 
 
 

What Customers are Saying:

 
 
 
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Last | Next >
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
  • He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX
 
 
 

Meet The Experts:

 
 
 
  • Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4520
    More than 5000 online tutoring sessions.
< Last | Next >
  • http://ww2.justanswer.com/uploads/BU/BusinessTutor/2012-2-2_115741_Kouki2.64x64.jpg Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany

    Tutor

    Satisfied Customers:

    4520
    More than 5000 online tutoring sessions.
  • http://ww2.justanswer.com/uploads/LI/lindaus/2012-6-10_04811_IMG20120609164157.64x64.jpg Linda_us's Avatar

    Linda_us

    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    3121
    Post Graduate Diploma in Management (MBA)
  • http://ww2.justanswer.com/uploads/ComputersGuru/2010-02-13_051118_Photo41.JPG LogicPro's Avatar

    LogicPro

    Engineer

    Satisfied Customers:

    3035
    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • http://ww2.justanswer.com/uploads/lanis/2009-4-1_233717_phput9xef_c1pm.jpg Lani S.'s Avatar

    Lani S.

    Tutor

    Satisfied Customers:

    2457
    Registered Nurse, Internet Researcher, Private Tutor
  • http://ww2.justanswer.com/uploads/chooser77/2009-08-18_162025_Chris.jpg Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    2341
    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • http://ww2.justanswer.com/uploads/JawaadAhmed/2009-6-27_12137_SIs_SHadi.jpg F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    1975
    Experience with chartered accountancy
  • http://ww2.justanswer.com/uploads/JK/jkcpa/2011-1-16_182614_jkcpa.64x64.jpg Bizhelp's Avatar

    Bizhelp

    CPA

    Satisfied Customers:

    1873
    Bachelors Degree and CPA with Accounting work experience