CBSE BOARD XII, asked by vasavikamal369, 10 months ago

Input Integer Write a program that takes as input integers and prints the integers. Input Format The first line contains N, the number of test cases. The line after that contains N space separated integers in 1 line Output Format Print each integer in a single line Sample Input / Output Input 5 7 89 101 30 42 Output 7 89 101 30 42

Answers

Answered by muhammedsabas
1

Answer:

I was in cbse 10th std I don't no about this

Answered by rinie
2

Answer: I wrote the program in C++

#include<iostream>

int main()

{

   int n,a,i;

   std::cin>>n;

   for(i=0;i<n;i++)

   {

       std::cin>>a;

   std::cout<<a<<"\n";

   }

}

Similar questions