Skip to content

Instantly share code, notes, and snippets.

@SOS77777
Created February 15, 2020 01:40
Show Gist options
  • Save SOS77777/5c07d1cfb8fdf3f75042fed6ab0736b6 to your computer and use it in GitHub Desktop.
Save SOS77777/5c07d1cfb8fdf3f75042fed6ab0736b6 to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
int main(){
double a , b , c , d , f ;
cout<<"enter your number " ;
cin>>a>>b>>c>>d>>f5;
double s = a+b+c+d+f ;
cout<<"your result is "<<s/5 ;
return 0 ;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment