Read Name and roll number

Description:

Example Program Simple Class Example Program In C++ Test Case 1 Input (stdin) saa 101 Expected Output saa 101 Test Case 2 Input (stdin) kumar 201 Expected Output kumar 201

Program :

#include <iostream>
using namespace std;
int main()
{
  char c[100];int n;
  cin>>c>>n;
  cout<<c<<" "<<n;
 return 0;
}