This is an example I created 5 min ago. Since you didn't specify how you want to display the data, I made two commandline outputs.
#include <iostream>
#include <string>
using namespace std;
int
main ()
{
int value_int = 6;
float value_flo = 0.35;
char value_cha = 'B';
string value_str = "Es ist nämlich Brotzeit.";
cout << "iostream:\tIch möchte " << value_int << " " << value_cha <<
"rote für jeweils " << value_flo << " cent. " << value_str << endl;
printf ("printf:\t\tIch möchte %i %crote für jeweils %0.2f cent. %s",
value_int, value_cha, value_flo, value_str.c_str());
return 0;
}
Greetings