Intrare
#include <stream.h>
main() //converteste inch in cm
Exemplu de executie
$a.out
inches = 12
12 in = 30.48 cm
$
Ultimii 4 operatori pot fi scrisi:
cout << inch << "in=" << inch*2.54 << "cm\n";