Answer:
int k;
double d;
char s[10];
cin >> k >> d >> s;
cout << s << " " << d << " " << k << "\\" << k << " " << d << " " << s;
Step-by-step explanation
First Step (declare K, d, s) so they can store a integer
int k;
double d;
char s[10];
Second Step (read in an integer, a real number and a small word)
cin >> k >> d >> s;
Third Step ( print them out )
cout << s << " " << d << " " << k << "\\" << k << " " << d << " " << s;