Problem Question
In this guide, we will explore the A Plus or Minus problem, a classic problem in computer programming that requires you to calculate the sum of a series of integers, with each integer being either positive or negative. We will walk you through the process of solving this problem using Python, a popular programming language.Plus or Minus(Div 4)
#include<bits/stdc++.h>
using namespace std;
int main()
{
int a,b,c,n,s=0;
cin>>n;
for(int i=0;i<n;i++)
{
cin>>a>>b>>c;
s=a+b;
if(s==c) cout<<"+"<<endl;
else cout<<"-"<<endl;
}
}




