get and print  a string with gets and puts.

#include <iostream>
#include <stdio.h>
using namespace std;
//get_put_string.cpp
int main()
{
char str1[20];
cout <<"enter a string 20 characters or less :";
gets(str1);
cout << "gets " << str1 << endl;
cout << "puts : " ;
puts(str1);
return 0;
}