Average age - Insurance Tips

A Hub of Best Guide Health Insurance Tips

Saturday, March 28, 2020

Average age

#include
#include
using namespace std;
int main()
{
    float tom,jerry,bheem,raju,oggy,jack,marky,joye,paplu,jhaplu ;
    float average, total ;
    cout<<"enter the age of tom"<    cin>>tom;
    cout<<"enter the age of jerry"<    cin>>jerry;
    cout<<"enter the age of bheem"<    cin>>bheem;
    cout<<"enter the age of raju"<    cin>>raju;
    cout<<"enter the age of oggy"<    cin>>oggy;
    cout<<"enter the age of jack"<    cin>>jack;
    cout<<"enter the age of marky"<    cin>>marky;
    cout<<"enter the age of joye"<    cin>>joye;
    cout<<"enter the age of paplu"<    cin>>paplu;
    cout<<"enter the age of jhaplu"<    cin>>jhaplu;
    total=tom+jerry+bheem+raju+oggy+jack+marky+joye+paplu+jhaplu;
    cout<<"Total="<    average=total/10;
    cout<<"Average="<   getch();
}

No comments:

Post a Comment