#include <iostream>
using namespace std;
int main () {
int a, b;
cin >> a;
if (a < 100){
cout << "Vvedite cheslo > 100" << endl;
}
else {
b = a * 0.01;
cout << a << "CM" << endl;
cout << b << "M" << endl;
Вот, если устроит c++
#include <iostream>
using namespace std;
int main () {
int a, b;
cin >> a;
if (a < 100){
cout << "Vvedite cheslo > 100" << endl;
}
else {
b = a * 0.01;
}
cout << a << "CM" << endl;
cout << b << "M" << endl;
}
Вот, если устроит c++