Before implementing any algorithm, we should be thorough with taking inputs. Here, we will learn how to read inputs.
You are given four inputs: a(integer), b(float ), c(long), d(byte), s(string) respectively. You need to take the input and print a and b separated by a space.
Read : Java I/O
Input Format:
First line of input conatins T, number of testcases. For each testcase, there will be five lines of input containing a, b, c, d, s.
Output Format:
For each testcase, print a, b, c, d, s in a new line.
User Task:
Your task is to complete the provided function IOFunction().
Constraints:
1 <= T <= 10
1 <= a <= 106
Input:
1
5
2.5
6546854
120
geek for geeks
Output:
5
2.5
6546854
120
geek for geeks
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.
bruceewayne | 119 |
rajupraaa1234 | 110 |
SUZAKU | 104 |
yash_sharan | 104 |
Core_Ka_Bachha | 99 |
mr_kksparrow | 433 |
manvirag982 | 302 |
rajupraaa1234 | 245 |
Exception_404 | 244 |
snow_den_ | 236 |
blackshadows | 5331 |
Ibrahim Nash | 5219 |
akhayrutdinov | 5111 |
mb1973 | 4929 |
Quandray | 4567 |