b1_1_3.cxx

We use cookies. Read the Privacy and Cookie Policy

b1_1_3.cxx

#include ‹stream.hxx›

main ()

{

 int inch = 0;

 cout ‹‹ "inches=";

 cin ›› inch;

 cout ‹‹ inch;

 cout ‹‹ "in = ";

 cout ‹‹ inch*2.54;

 cout ‹‹ " cm ";

}