deposit - { cout << "You...

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 &lt;&lt; &quot;You should consider the EconoCheck account.\n&quot;; } else { cout &lt;&lt; &quot;You should consider the FreeCheck account.\n&quot;; } } else { cout &lt;&lt; &quot;You should consider an interest-bearing account.\n&quot;; } return 0; }...
View Full Document

Ask a homework question - tutors are online