#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++
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
#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++