#include <iostream> ;
#include <fstream>;
#include <string> ;
#include <iomanip> ;
using namespace std ;
int main ( )
{
string name;
int m1 ,m2, m3;
float avg;
ofstream outfile("mark.txt") ;
cout<<"Write your name :";
cin>>name;
cout<<"input 3 marks:";
cin>>m1>>m2>m3;
avg=m1+m2+m3/3.0;
cout <<showpoint << fixed << setprecision (2);
cout<<"ur average is :"<<avg<<endl;
outfile<<name<<m1<<""<<m2<<""<<m3;
outfile.close( );
return 0 ;
}
i need to find out whats the error