deposit - cout<<"You should consider the...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
// deposit.cpp / #include <iostream.h> # int main() { float amount_to_deposit; cout << "How much do you want to deposit to open the account? "; cin >> amount_to_deposit; if(amount_to_deposit < 1000.00 ) { if(amount_to_deposit < 100.00 )
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: { cout << "You should consider the EconoCheck account.\n"; } else { cout << "You should consider the FreeCheck account.\n"; } } else { cout << "You should consider an interest-bearing account.\n"; } return 0; }...
View Full Document

This note was uploaded on 06/20/2011 for the course COMPUTER 12 taught by Professor Aymanboghdady during the Spring '11 term at American College of Computer & Information Sciences.

Ask a homework question - tutors are online