#include<bits/stdc++.h> using namespace std; int main() { int a,b,c;

cin>>a>>b>>c;

if( c==0)
{
	cout<<"Division by zero condition"<<endl;
}
else
{
	cout<<(a+b)/c;
}

return 0;

}

2 comments

  • 1

Information

ID
389
Time
1000ms
Memory
256MiB
Difficulty
5
Tags
# Submissions
23
Accepted
13
Uploaded By