- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
3 Posted Topics
you can also use: void main (instead of int main()) and if you are using int main() please return some value like "return 0;" and its endl not end1 :)
if (choice == 1) { system("cls"); cout<<"WHICH ACCOUNT WOULD YOU LIEK TO WITHDRAW FROM"<<endl; cout<<"ACCOUNT ONE"<<endl; cout<<"ACCOUNT TWO"<<endl; cin>>account; //account one if(account == 1) { cout<<"HOW MUCH WOULD YOU LIKE TO WITH DRAW FROM ACCOUNT ONE? YOU HAVE "<< bank1 <<endl; cin>>with; bank1 = bank1 - with; cout<<"YOU WITHDREW " …
[QUOTE=aminura;180935]Well, today I had my C++ viva at my school..and I screwed it up!! The answers to this question which I was asked may be easy but I couldn't get it..Few questions of which I haven't got the answers yet-- 1. [CODE]class A { public: int a; int b; };[/CODE] …
The End.