#include using namespace std; int main() { double money; double cost; cost=2.00; cout << "Item cost is $" << cost << endl; cout << "How much money do you have? "; cin >> money; if(money>=cost) cout << "You can buy it."; else cout << "You need more money"; return 0; }