By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,838 Members | 1,623 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,838 IT Pros & Developers. It's quick & easy.

help me start this thing

P: 3
Look at my attachment

I do not how to start this and I want to have it exactly like this using nested loops

(help start the first account number then i'll figure out the rest i think)Attachment 3234
Attached Images
File Type: jpg untitled.jpg (19.5 KB, 114 views)
May 12 '10 #1
Share this Question
Share on Google+
4 Replies

Expert 100+
P: 2,057
Sorry? What part of the programming are you having trouble with?

Have you figured out how you're going to do this in steps? eg
May 12 '10 #2

P: 3
the input so far all i have is

# include <iostream>
# include <iomanip>

using namespace std;

int main()

int Account, Balance;
double Deposit, Withdrawal;

for (Account = 4; Account <= 3; Account--)
and i'm trying to use nested loop
May 12 '10 #3

P: 3
and this is C++ program
May 12 '10 #4

Expert 100+
P: 2,057
For one, your for loop will never run.
for (Account = 4; Account <= 3; Account--)
I'm assuming you originally had it starting at 0, counting upwards?
Change the condition accordingly.
May 12 '10 #5

Post your reply

Sign in to post your reply or Sign up for a free account.