Getting alot of bugs, first off, in my output its all 1's when it should be a mix of 1's and 0's, and second off litterally nothing is happening with my file, even if I do something like file << "Im screwed becuase this is due in an hour and a half"; ---- its comepletely EMPTY
return (streamMovies == 0) || (1 != 0);
It really doesn't matter what's in the variable, the right hand side of the OR is guaranteed to evaluate to true, so the whole thing is true.
Your streaming section codes does not make much sense. If the answer is 'y' then the member variable is set to 0 and if 'n' it's set to 1 ??? 0 usually means false and 1 true. But the member variable is an int so expected to have values other than 1 or 0???
Also, the .validstream/lines member functions checks the member variable and returns true or false if the applicable .stream member variable is either 0 or 1. But you know this already as the member variable has just been set to 0 or 1 - so .validxxx() will always return true!
Enter information for Customer # 1
Customer ID: A123
Streaming Movies: y
Streaming TV: y
Multiple Lines: y
Monthly Charges: 345
Enter information for Customer # 2
Customer ID: B234
Streaming Movies: y
Streaming TV: n
Multiple Lines: y
Monthly Charges: 345
Enter information for Customer # 3
Customer ID: C345
Streaming Movies: n
Streaming TV: y
Multiple Lines: n
Monthly Charges: 567
Customer ID Streaming Movies Streaming TV Multiple Lines Monthly Charges
A123 true true true $345
B234 true false true $345
C345 false true false $567