Skip to content

Commit bbe2d22

Browse files
committed
Added 1807A - Plus or Minus.cpp
1 parent 96c025b commit bbe2d22

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Diff for: 1807A - Plus or Minus.cpp

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// ॐ नमः शिवाय
2+
#include<bits/stdc++.h>
3+
using namespace std;
4+
5+
// Code Written By: Vikash Patel
6+
// Codeforces Profile: https://codeforces.com/profile/vikashpatel
7+
8+
int main()
9+
{
10+
int t;
11+
cin>>t;
12+
while(t--)
13+
{
14+
int a,b,c;
15+
cin>>a>>b>>c;
16+
if(a+b==c)
17+
cout<<"+"<<endl;
18+
else
19+
cout<<"-"<<endl;
20+
}
21+
}

0 commit comments

Comments
 (0)