i am doing a sales commission program to run a counter on the commission calculated, but the answers can't show on the counter
here's what i've done so far:
#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
int main ()
{
int i;
double salary = 0;
double gross[10];
int count1 = 0;
int count2 = 0;
int count3 = 0;
int count4 = 0;
int count5 = 0;
int count6 = 0;
int count7 = 0;
int count8 = 0;
int count9 = 0;
int numCounter = 0;
for (i=0; i<10; i++)
{
cout << "\nPlease enter the gross sales that you have made for the week: " << endl;
cin >> gross[i];
salary = 200 + (0.0900 * gross[i]) ;
cout << "\nYour commission for the week: " << salary << endl;
}