Not able to figure out what is wrong in this program for FLOW001

logic is- to get an input for T test cases, and then take two integers as input to add them and this will repeat T times as per the test cases input, also show the result one by one in new lines.

#include <bits/stdc++.h>

using namespace std;

int main() {
int T;
int a,b;
int c=a+b;

return 0;


you have to print answer in next line so you have to write

1 Like

I have tried that actually, forgot to add the new line thingy in the code above but, the main issue is that I am getting a totally different answer.