amateur programmer here looking for some pretty basic help from the community. I am completing a program which is supposed to calculate the total monthly/annual cost for a vehicle; mind you, it's meant to be simple, but I probably shoot myself without noticing...

#include <iostream>

using std::cout;
using std::cin;
using std::endl;
using std::ios;
using std::fixed;

#include <cmath>


using namespace std;

	int main()

{

//variable declaration
double loanmonthlyfee;
double totalmonthlybill
double insurancecost;
double totalannualcost
double additionalcosts;
double gasolineexpenditure;
double tiremaintenance; 



//input
cout <<"Enter Loan Monthly fee.";
cin >> loanmonthlyfee;

cout<<"enter insurance cost.";
cin >>insurancecost; 

cout <<"enter gasoline expenditure.";
cin >> gasolineexpenditure;

cout <<"enter tire maintenance cost";
cin >> tiremaintenance;

cout <<"enter any additional costs";
cin >> additionalcosts;

double totalmonthlybill = loanmonthlybill + insurancecost + totalannualcost + additionalcosts + gasolineexpenditure + tiremaintenance;
double totalannualcost = totalmonthlybill * 12;

cout <<"your total monthyl bill is" << totalmonthlybill;
cout <<"your total annual bill is" << totalannualcost;


system("PAUSE");
return 0;



}

So what's the problem?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.