#include <iostream>
using namespace std;
int main() {
setlocale(LC_ALL, "Russian");
int dm;
double cm;
for (dm=10;dm<=22;dm++){
cm=dm*25.4/10;
cout<<dm<<" дюймов = "<<cm<<" сантиметров"<<endl;
};
return 0;
}
#include <iostream>
using namespace std;
int main() {
setlocale(LC_ALL, "Russian");
int dm;
double cm;
for (dm=10;dm<=22;dm++){
cm=dm*25.4/10;
cout<<dm<<" дюймов = "<<cm<<" сантиметров"<<endl;
};
return 0;
}