Untitled
unknown
plain_text
2 years ago
615 B
4
Indexable
#include <iostream>
using namespace std;
int main()
{
float m, h, I, i;
cout << "M=\n";
cin >> m;
cout << "H=\n";
cin >> h;
I = m / (h * h);
cout << "IMT=" << I;
i = I;
int g;
cout << "WOMAN=1;MAN=2";
cin >> g;
cin >> i;
if (g == 1) {
switch ('i') {
case 20:
case 21:
case 22:
case 23:
case 24:
cout << "NORMAL";
break;
default:
cout << "UNNORMAL";
}
}
if (g == 2) {
switch ('i') {
case 18:
case 19:
case 20:
case 21:
case 22:
case 23:
cout << "NORMAL";
break;
default:
cout << "UNNORMAL";
}
}
}Editor is loading...