Comments are very useful in any language to tell user what is the task of any function or operation. The comments are neglected by the compiler, so whatever you write in the comments won't have any effect on the working of a code. In Java, comments can be written as mentioned below:
/*This is a comment*/
//This is also a comment
You are given a complete function that outputs a, b, and c. Comment the code that outputs b, so only a and c gets printed.
First line of input conatins number of testcases T. For each testcase, there will be one line of input containing a,b, and c.
For each testcase, print a, then print c in their separate lines.
Your task is to comment the unnecessary statement.
1 <= T <= 10
1 <= a <= 106
1 <= b <= 106
1 <= c<= 106
5 6 15
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.