Unsure why this error occurs when calculating average price

My program is able to pull the correct information and values from the main.cpp but the averages are off when it computes. the picture of the correct output and my input is at the bottom via imgur. perhaps i have the wrong variable in my for-loop?

my program for the GetAverageFunction() is:

float GetAveragePrice(){
    int count=0; //count of vehicles
    int sum=0; //sum of price of vehicles

    for(int i=0;i<showrooms.size();i++){
        vector<Vehicle> vehicles=showrooms.at(i).GetVehicleList();

        for(int j=0;j<vehicles.size();j++){
            sum+=vehicles.at(i).GetPrice();
            count++;
        }
    }

    return sum/count;
}

picture of the output information difference

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum