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 R.R. Jha Your Own Question
R.R. Jha
R.R. Jha, Tutor
Category: Homework
Satisfied Customers: 5471
Experience:  B.Tech
20870358
Type Your Homework Question Here...
R.R. Jha is online now
A new question is answered every 9 seconds

Thank you for your help with my earlier question. I have a

This answer was rated:

Thank you for your help with my earlier question. I have a question with my a problem that i am working on. I am working on developing a bank statement in C++ but i keep getting errors when i compile.

include
#include
#include
using namespace std;

int MAX_DAY = 30;


class Transaction
{
public:
Transaction();
Transaction( int i_day, double i_amount, string i_description);
void read() const;
void print();
int
Hi,
Welcome back
Hope you are doing well
You should be using "For LogicPro only" at the start of your questions to
ensure question comes to me or I may not be able to help

upload the file to http://wikisend.com and post
download link here. Formatting is messed up.
Customer: replied 4 years ago.

Thank you. The download link is below:


http://wikisend.com/download/321414/Lab P6-13.cpp

What is the deadline?
Customer: replied 4 years ago.

No later than monday

I will review and reply ASAP
Customer: replied 4 years ago.

Thank you so much! This code is giving me issues...Cry

Welcome
I will provide you answer ASAP.
Customer: replied 4 years ago.

Out of curiosity.. How many questions can i ask for the deposit? This is my first time using this site..


 

You can ask one question for each deposit.
Can you provide me complete details that what this program is expected to do?
What should be contents of main method?

Also which C++ Compiler are you using?
Customer: replied 4 years ago.

The program is supposed to print out a bank statement. The program input is a sequence of transactions. Each transaction has the form:


Day Amount description


The program should read in the descriptions then print out a statement listing all deposits, withdrawals, and the daily balance for each day. It then should compute the interest earned by the account. Use both the minimum daily balance and the average daily balance methods for computing interest and print both values. Use an interest rate of 0.5 percent per month and assume the month has 30 days. Assume the input data is sorted by the date. Assume that the first entry is :


1 1143.24 initial balance

ok,I will check it.
Customer: replied 4 years ago.

i am using visual C++ to compile it

ok. I will review and reply ASAP
My apologies. I tried it but lost.
I am opting out for other experts to join you.
Thank you for your patience.

Hi,

I could help with this. I'll work over this and get back to you soon.


Thanks
Customer: replied 4 years ago.

Hi rrjha. I wanted to check to see how my question was coming along.

Please download it below

Lab p6-13.cpp

Please rate the answer. Bonus is appreciated.

Let me know if you need help with any more problems. Just add 'RRJha' at the start of your new question to ask me again.


Thanks
Customer: replied 4 years ago.

Good Evening. when i try to compile the code i get the following errors:


1> Lab P6-13.cpp
1>c:\users\msessie\documents\visual studio 2010\projects\lab p6-13\lab p6-13\lab p6-13.cpp(109): warning C4101: 's' : unreferenced local variable
1>c:\users\msessie\documents\visual studio 2010\projects\lab p6-13\lab p6-13\lab p6-13.cpp(122): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\msessie\documents\visual studio 2010\projects\lab p6-13\lab p6-13\lab p6-13.cpp(138): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\msessie\documents\visual studio 2010\projects\lab p6-13\lab p6-13\lab p6-13.cpp(148): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\msessie\documents\visual studio 2010\projects\lab p6-13\lab p6-13\lab p6-13.cpp(163): warning C4018: '<' : signed/unsigned mismatch
1>c:\users\msessie\documents\visual studio 2010\projects\lab p6-13\lab p6-13\lab p6-13.cpp(180): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\msessie\documents\visual studio 2010\projects\lab p6-13\lab p6-13\lab p6-13.cpp(180): error C2365: 'system' : redefinition; previous definition was 'function'
1> c:\program files (x86)\microsoft visual studio 10.0\vc\include\stdlib.h(520) : see declaration of 'system'
1>c:\users\msessie\documents\visual studio 2010\projects\lab p6-13\lab p6-13\lab p6-13.cpp(180): error C2440: 'initializing' : cannot convert from 'const char [6]' to 'int'
1> There is no context in which this conversion is possible
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

R.R. Jha, Tutor
Category: Homework
Satisfied Customers: 5471
Experience: B.Tech
R.R. Jha and 2 other Homework Specialists are ready to help you
Hi,

Just checking if you could retrieve and review the answer. Feel free to ask if you've any follow up question before you leave the rating.


Thanks
Customer: replied 4 years ago.

I was unable to retrieve the answer.

THIS ANSWER IS LOCKED!

You need to spend $3 to view this post. Add Funds to your account and buy credits.

Related Homework Questions