![]() |
|
#1
|
|||
|
|||
Maintaining a checking and savings account through C++I could use help on maintaing a checking and savings account. I am very new to C++ and any help that could be made would be extremely appreciated. This program would need to include loop, switch, if/else,then. If anyone could help with this I would be forever grateful!!
|
|
#2
|
|||
|
|||
Re: Maintaining a checking and savings account through C++I tried working on this but I cannot get it to completely work. Does anyone know how I could possibly add a loop or an if/else/then structure to this it is a requirement to have it in my program. I could really use some pointers if anyone would be willing to look at this. Thank you in advance.
CPP / C++ / C Code:
|
|
#3
|
|||
|
|||
Re: Maintaining a checking and savings account through C++Quote:
A if/else where? ... |
|
#4
|
|||
|
|||
Re: Maintaining a checking and savings account through C++I wanted to include something like this in there but I can't figure out how I would add it and still have it work.
CPP / C++ / C Code:
|
|
#5
|
|||
|
|||
Re: Maintaining a checking and savings account through C++I tried adding it in this source code and came up with these errors:
45 C:\Documents and Settings\Jennifer\My Documents\bankaccount.cpp expected unqualified-id before '{' token 45 C:\Documents and Settings\Jennifer\My Documents\bankaccount.cpp expected `,' or `;' before '{' token 68 C:\Documents and Settings\Jennifer\My Documents\bankaccount.cpp `main' must return `int' Here is the code with the if/else statement included CPP / C++ / C Code:
|
|
#6
|
|||
|
|||
Re: Maintaining a checking and savings account through C++First I would say pick a style and stay with it. I personally do not like this style. It is to easy to lose track of the "}" and "{".
CPP / C++ / C Code:
This is easier to follow the "}" and "{". CPP / C++ / C Code:
Now you can see this seems out of place. What is it? CPP / C++ / C Code:
|
Recent GIDBlog
Halfway done! by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The