Write a program to calculate total and average marks of 5 subjects
#include<iostream>
using namespace std;
int main()
{
float phy,maths,c,java,che,total;
double averge;
cout<<"enter the students matks \n";
cout<<"enter the marks of phy: "<<endl;
cin>>phy;
cout<<"enter the marks of maths: "<<endl;
cin>>maths;
cout<<"enter the marks of c: "<<endl;
cin>>c;
cout<<"enter the marks of java: "<<endl;
cin>>java;
cout<<"enter the marks of che: "<<endl;
cin>>che;
total=phy+maths+c+java+che;
averge=total/5;
cout<<"total: "<<total<<endl;
cout<<"averge: "<<averge<<endl;
return 0;
}