Learn to Comment
Submissions: 5604   Accuracy:


  Difficulty: Easy   Marks: 2
Associated Course(s):   Fork CPP

Comments are very useful in any language to tell a 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 C++, 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.

Input Format:
First line of input conatins number of testcases T. For each testcase, there will be one line of input containing a,b, and c.

Output Format:
For each testcase, print a, then print c in their separate lines.

User Task:
Your task is to comment the mentioned code.

1 <= T <= 10
1 <= a <= 106
1 <=b <= 106
1 <= c<= 106


5 6 15



** For More Input/Output Examples Use 'Expected Output' option **

Author: Dhiman Mayank

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.

Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.

to report an issue on this page.