Cascading

Description:

Use cascading/ multiple cin and cout in c ++ programming language to print values and messages together. Test Case 1 Input (stdin) 10 20 Expected Output 10 20 Test Case 2 Input (stdin) 50 100 Expected Output 50 100

Program :

#include <iostream>

using namespace std;

int main()

{

   int a,b;

  cin>>a >>b;

  cout<<a;

  cout<<" "<<b;

 

return 0;

}