write c++ program to Print the average of a numbers

write c++ program to Print the average of a numbers


#include <iostream>
#include<string>
using namespace std;
int main()
{ 

int a,b,c;
cin>>a>>b>>c;
double avg = (a+b+c)/3;

cout<<"avg = "<<avg<<endl;


}