Ok I have a program which takes the values enter in and then subtracts them from my acount balance, but I'm not sure what's going on.
#include <iostream>
using namespace std;
int main ()
{
int citi;
int chase;
int bofa;
int wamu;
cout << "Please enter your citi total: ";
cin >> citi;
cout << "Please enter your chase total: ";
cin >> chase;
cout << "Please enter your bofa total: ";
cin >> bofa;
cout << "Please enter your wamu total: ";
cin >> wamu;
cout << "Your total debt is: "(citi + chase + bofa) - wamu";
return 0;
What simple thing am I missing here.
Bookmarks