No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
#include <iostream> using namespace std; int main(){ double w,x,y,z,avg; cout <<" PLEASE ENTER FOUR ENTRIES OF MARKS"<<endl; cin >> w >> x >> y >> z; avg=((w+x+y+z)/4); if(avg>60){ cout <<"YOU PASS"<<endl;} else{ cout<<"YOU FAIL"<<endl; } cout<<"YOUR AVERAGE MARK IS "<<avg<< endl; return 0; }
#include <iostream> using namespace std; int main() { int w,x,y,z,avg; cout <<" ENTER EACTLY FOUR INTEGER EXAM MARKS"<<endl; cout <<"I'L TELL YOU WHETHER YOU PASSED AND GIVE YOUR AVERAGE"<<endl; cin >> w >> x >> y >> z; avg=((w+x+y+z)/4); if(avg>60){ cout <<"CONGRATULATIONS,YOU HAVE PASSED!WITH A GRADE OF "<<endl; } else{ …
The End.
monroe85