/* L3-6.cpp (Individual Shares) c married couples share a prize of $1,000. Thus if there are 5 married couples, each individual's share is $100 which comes from 1000/10. More generally, if there are c married couples, each person's share = prize / 2c Find the mistake in the following program. */ #include using namespace std; int main() { int prize, c; double share; prize = 1000; cout << "Enter the number of married couples" << endl; cin >> c; share = prize / 2.0 * c; cout << "Each individual will receive $" << share << endl; return 0; }