First of all I'm a n00b at this so be patient. I have to turn in this program on Wednesday with a presentation. I know it's not finished, but I ran it to see if it'll display my emp of 4 and nothing, no errors, it wouldn't even compile. Any help would be greatly appreciated as my grade is riding on this and I couldn't afford the textbook.
Code:
// Business Program Rough Concept #1
#include <iostream>
using namespace std;
int main()
{
int money, emp, tot, apay, bpay, cpay, dpay, hours, rev, pro, loss, etpa, etpb, etpc, etpd, lCost;
float tot, money, apay, cpay, dpay, hours, rev, pro, loss, etpa, etpb, etpc, etpd, lCost;
lCost = (etpa+etpb+etbc+etbd)/float(4);
etpa = (emp * apay * hours)float;
etpb = (emp * bpay * hours)float;
etpc = (emp * cpay * hours)float;
etpd = (emp * dpay * hours)float;
apay = (5.15)float;
bpay = (6.50)float;
cpay = (7.00)float;
dpay = (10.50)float;
base = (1000);
rev = (base * 1.1 * month)float;
pro = (rev - lCost)float;
money = (10000);
emp = (4);
hours = (4);
cout << emp;
return 0;
}