#include<iostream>
using namespace std;
main()
{
int n1,n2,n3,n4,n5,average;
cout<<" Enter five number:-";
cin>>n1>>n2>>n3>>n4>>n5;
average=(n1+n2+n3+n4+n5)/5;
cout<<" Average of five number is:-"<<average;
return 0;
}
using namespace std;
main()
{
int n1,n2,n3,n4,n5,average;
cout<<" Enter five number:-";
cin>>n1>>n2>>n3>>n4>>n5;
average=(n1+n2+n3+n4+n5)/5;
cout<<" Average of five number is:-"<<average;
return 0;
}
0 Comments
कमेंट केवल पोस्ट से रिलेटेड करें